File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454
5555 - name : Run tox
5656 run : tox -e "${MATRIX_NAME}"
57- env :
58- MATRIX_NAME : ${{ matrix.name }}
57+ # run: tox -e "${MATRIX_NAME}"
58+ # env:
59+ # MATRIX_NAME: ${{ matrix.name }}
60+
61+ - name : Upload SARIF report into the GitHub repo code scanning
62+ uses : github/codeql-action/upload-sarif@v3
63+ with :
64+ sarif_file : zizmor.sarif
65+ category : zizmor
5966
6067 - name : Report coverage
6168 if : contains(matrix.name, 'coverage')
Original file line number Diff line number Diff line change 1818* .egg
1919# autogenerated by setuptools-scm
2020/pytest_django /_version.py
21+ zizmor.sarif
Original file line number Diff line number Diff line change @@ -44,11 +44,12 @@ commands =
4444
4545[testenv:linting]
4646dependency_groups = linting
47+ allowlist_externals = sh
4748commands =
4849 ruff check --diff {posargs:pytest_django pytest_django_test tests}
4950 ruff format --quiet --diff {posargs:pytest_django pytest_django_test tests}
5051 mypy {posargs:pytest_django pytest_django_test tests}
51- zizmor --persona =pedantic .github/workflows/deploy.yml .github/workflows/main.yml
52+ sh -c " zizmor --persona=pedantic --format sarif .github/workflows/deploy.yml .github/workflows/main.yml > zizmor.sarif "
5253
5354[testenv:doc8]
5455basepython = python3
You can’t perform that action at this time.
0 commit comments