Skip to content

Commit 43e1820

Browse files
committed
.
1 parent 72dc763 commit 43e1820

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
permissions:
2727
contents: read
2828
security-events: write
29-
env:
30-
TOXENV: ${{ matrix.name }}
3129
steps:
3230
- uses: actions/checkout@v4
3331
with:
@@ -56,7 +54,9 @@ jobs:
5654
uv tool install tox==4.26.0 --with tox-uv
5755
5856
- name: Run tox
59-
run: tox ${{ matrix.use_factor && '-f' || '-e' }} ${{ matrix.name }}
57+
run: tox ${TOX_ARGS}
58+
env:
59+
TOX_ARGS: ${{ matrix.use_factor && format('-f {0}', matrix.name) || format('-e {0}', matrix.name) }}
6060

6161
- name: Upload zizmor SARIF report into the GitHub repo code scanning
6262
if: contains(matrix.name, 'linting')

0 commit comments

Comments
 (0)