From 1f2afb8aba02d14aadade6e51664caca0d284278 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 22 Jun 2024 11:57:57 +0200 Subject: [PATCH] chore: use python from setup-python step to run nox --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77a82d0ae..dc6dbc41e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }})