Skip to content

Commit

Permalink
ci: remove python flag of externally managed env
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jun 22, 2024
1 parent fef12eb commit 954a603
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yamllint disable-line rule:line-length
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
Expand Down Expand Up @@ -35,8 +36,11 @@ jobs:
# yamllint disable-line rule:line-length
run: sudo apt-get install -y python3-dev python3-pip shellcheck reuse
# gitlint is available on Debian but Ubuntu has an older version.
- name: Remove externally managed python environment flag
# yamllint disable-line rule:line-length
run: dpkg-divert --rename --add /usr/lib/$(py3versions -d)/EXTERNALLY-MANAGED
- name: Install pip packages
run: pip3 install --break-system-packages salt-lint gitlint
run: pip3 install salt-lint gitlint
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit 954a603

Please sign in to comment.