Skip to content

Commit b5c455b

Browse files
committed
github: Try replacing Gr1N/setup-poetry with pipx
1 parent 13cbe86 commit b5c455b

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.github/workflows/check_docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
with:
2222
python-version: ${{ env.PYTHON_VERSION }}
2323
- name: Set up Poetry
24-
uses: Gr1N/setup-poetry@v9
25-
with:
26-
poetry-version: ${{ env.POETRY_VERSION }}
24+
run: pipx install poetry==${{ env.POETRY_VERSION }} --python python${{ steps.setup-python.outputs.python-version }}
2725
- name: Check for lock changes
2826
run: poetry check --lock
2927
- name: Cache virtualenv (with docs)

.github/workflows/check_nitypes.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
with:
2222
python-version: ${{ env.PYTHON_VERSION }}
2323
- name: Set up Poetry
24-
uses: Gr1N/setup-poetry@v9
25-
with:
26-
poetry-version: ${{ env.POETRY_VERSION }}
24+
run: pipx install poetry==${{ env.POETRY_VERSION }} --python python${{ steps.setup-python.outputs.python-version }}
2725
- name: Check for lock changes
2826
run: poetry check --lock
2927
- name: Cache virtualenv

.github/workflows/run_unit_tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Set up Poetry
30-
uses: Gr1N/setup-poetry@v9
31-
with:
32-
poetry-version: ${{ env.POETRY_VERSION }}
30+
run: pipx install poetry==${{ env.POETRY_VERSION }} --python python${{ steps.setup-python.outputs.python-version }}
3331
- name: Cache virtualenv
3432
uses: actions/cache@v4
3533
with:

0 commit comments

Comments
 (0)