File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 steps :
2323 # install dependencies for all linters, then run the linter, so we don't get import failures when the linters scan the code
2424 # upgrade pip, so that we can install flake8_sarif_formatter properly from the git repo
25- - uses : actions/checkout@v4
25+ - name : Checkout repo
26+ uses : actions/checkout@v4
27+
2628 - name : Install pip dependencies
29+ if : ${{ ! ( runner.os == "macOS" && matrix.python-version == "3.7" ) }}
2730 run : |
31+ # deal with HomeBrew managed Python on GitHub Hosted MacOS runners
2832 if [[ "${RUNNER_OS}" == "macOS" ]]; then
2933 PIP_ARGS="--break-system-packages"
3034 else
3337 python3 -mpip install ${PIP_ARGS} -q --upgrade pip
3438 python3 -mpip install ${PIP_ARGS} -q flake8 pylint ruff mypy pytype pyright fixit pyre-check
3539 python3 -mpip install ${PIP_ARGS} -q flake8-sarif-formatter
40+
3641 - name : Run Python Lint
3742 uses : advanced-security/python-lint-code-scanning-action@main
3843 with :
You can’t perform that action at this time.
0 commit comments