Skip to content

Commit

Permalink
Directly specify python version for pipx commands
Browse files Browse the repository at this point in the history
Signed-off-by: John Strunk <[email protected]>
  • Loading branch information
JohnStrunk committed Jun 11, 2024
1 parent ad33494 commit 9823eee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 9823eee

Please sign in to comment.