chore: use python from setup-python step to run nox (#1921)

This commit is contained in:
Matthieu Darbois
2024-07-08 07:59:44 +02:00
committed by GitHub
parent a4d24056ef
commit 6c8347f465
+3 -2
View File
@@ -22,13 +22,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
id: python
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
- name: Check manifest
run: pipx run nox -s check_manifest
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s check_manifest
- name: PyLint checks
run: pipx run nox -s pylint -- --output-format=github
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s pylint -- --output-format=github
test:
name: Test on ${{ matrix.os }} (${{ matrix.python_version }})