-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: remove python flag of externally managed env
- Loading branch information
1 parent
fef12eb
commit 19ea24d
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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: sudo 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 | ||
|