Skip to content

Commit de54792

Browse files
authored
Adding flag to work around MacOS runner issue
Added `--break-system-packages` to work around HomeBrew managing packages on MacOS
1 parent fe29c7e commit de54792

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- name: Install pip dependencies
2727
run: |
28-
python3 -mpip install -q --upgrade pip
29-
python3 -mpip install -q flake8 pylint ruff mypy pytype pyright fixit pyre-check
30-
python3 -mpip install -q flake8-sarif-formatter
28+
python3 -mpip install -q --upgrade pip --break-system-packages
29+
python3 -mpip install -q flake8 pylint ruff mypy pytype pyright fixit pyre-check --break-system-packages
30+
python3 -mpip install -q flake8-sarif-formatter --break-system-packages
3131
- name: Run Python Lint
3232
uses: advanced-security/python-lint-code-scanning-action@main
3333
with:

0 commit comments

Comments
 (0)