chore: use python from setup-python step to run nox (#1921)
This commit is contained in:
@@ -22,13 +22,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
id: python
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
- name: Check manifest
|
- 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
|
- 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:
|
test:
|
||||||
name: Test on ${{ matrix.os }} (${{ matrix.python_version }})
|
name: Test on ${{ matrix.os }} (${{ matrix.python_version }})
|
||||||
|
|||||||
Reference in New Issue
Block a user