From 9823eee47e73158a65b84827b91e43ee591b97f6 Mon Sep 17 00:00:00 2001 From: John Strunk Date: Tue, 11 Jun 2024 19:34:17 +0000 Subject: [PATCH] Directly specify python version for pipx commands Signed-off-by: John Strunk --- .github/workflows/workflow.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 22b8f7b..539b821 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -44,10 +44,10 @@ jobs: pre-commit| - name: Run pre-commit checks - run: pipx run pre-commit run -a + run: pipx run --python ${{ steps.setup-py.outputs.python-version}} pre-commit run -a - name: Run pre-commit gc - run: pipx run pre-commit gc + run: pipx run --python ${{ steps.setup-py.outputs.python-version}} pre-commit gc tests: name: "Tests" @@ -67,7 +67,7 @@ jobs: python-version: "3.12" - name: Install pipenv - run: pipx install pipenv + run: pipx install --python ${{ steps.setup-py.outputs.python-version}} pipenv - name: Install dependencies run: pipenv install --dev