Skip to content

Commit ec2f004

Browse files
committed
chore: use python from setup-python step to run nox
1 parent 75769ca commit ec2f004

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-python@v5
25+
id: python
2526
with:
2627
python-version: "3.x"
2728
- uses: pre-commit/action@v3.0.1
2829
- name: Check manifest
29-
run: pipx run nox -s check_manifest
30+
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s check_manifest
3031
- name: PyLint checks
31-
run: pipx run nox -s pylint -- --output-format=github
32+
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s pylint -- --output-format=github
3233

3334
test:
3435
name: Test on ${{ matrix.os }} (${{ matrix.python_version }})

0 commit comments

Comments
 (0)