Skip to content

Commit 09179af

Browse files
committed
github: Use python-path because there is no command alias for pythonX.Y.Z
1 parent b5c455b commit 09179af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/check_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
python-version: ${{ env.PYTHON_VERSION }}
2323
- name: Set up Poetry
24-
run: pipx install poetry==${{ env.POETRY_VERSION }} --python python${{ steps.setup-python.outputs.python-version }}
24+
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
2525
- name: Check for lock changes
2626
run: poetry check --lock
2727
- name: Cache virtualenv (with docs)

.github/workflows/check_nitypes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
python-version: ${{ env.PYTHON_VERSION }}
2323
- name: Set up Poetry
24-
run: pipx install poetry==${{ env.POETRY_VERSION }} --python python${{ steps.setup-python.outputs.python-version }}
24+
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
2525
- name: Check for lock changes
2626
run: poetry check --lock
2727
- name: Cache virtualenv

.github/workflows/run_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Set up Poetry
30-
run: pipx install poetry==${{ env.POETRY_VERSION }} --python python${{ steps.setup-python.outputs.python-version }}
30+
run: pipx install poetry==${{ env.POETRY_VERSION }} --python '${{ steps.setup-python.outputs.python-path }}'
3131
- name: Cache virtualenv
3232
uses: actions/cache@v4
3333
with:

0 commit comments

Comments
 (0)