Skip to content

Commit 4f15ae7

Browse files
authored
Pedantic static analisis for github actions (#1212)
1 parent 007b7fa commit 4f15ae7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353
pip install tox==4.26.0
5454
5555
- name: Run tox
56-
run: tox -e ${{ matrix.name }}
56+
run: tox -e "${MATRIX_NAME}"
57+
env:
58+
MATRIX_NAME: ${{ matrix.name }}
5759

5860
- name: Report coverage
5961
if: contains(matrix.name, 'coverage')

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ commands =
4848
ruff check --diff {posargs:pytest_django pytest_django_test tests}
4949
ruff format --quiet --diff {posargs:pytest_django pytest_django_test tests}
5050
mypy {posargs:pytest_django pytest_django_test tests}
51-
zizmor --persona=regular .github/workflows/deploy.yml .github/workflows/main.yml
51+
zizmor --persona=pedantic .github/workflows/deploy.yml .github/workflows/main.yml
5252

5353
[testenv:doc8]
5454
basepython = python3

0 commit comments

Comments
 (0)