Skip to content

Commit 2563912

Browse files
committed
update doc and github action
1 parent 8416a1b commit 2563912

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/actions/poetry_setup/action.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,15 @@ runs:
6969
/opt/pipx/venvs/poetry/bin/python --version
7070
/opt/pipx_bin/poetry --version
7171
72-
- name: Fix pip and upgrade pipx
73-
if: steps.cache-bin-poetry.outputs.cache-hit != 'true'
74-
shell: bash
75-
run: |
76-
python -m pip install --upgrade "pip<25"
77-
python -m pip install --upgrade pipx
78-
pipx --version
79-
80-
- name: Install poetry
72+
- name: Install poetry via pip
8173
if: steps.cache-bin-poetry.outputs.cache-hit != 'true'
8274
shell: bash
8375
env:
8476
POETRY_VERSION: ${{ inputs.poetry-version }}
85-
PYTHON_VERSION: ${{ inputs.python-version }}
86-
# Install poetry using the python version installed by setup-python step.
87-
run: pipx install "poetry==$POETRY_VERSION" --python '${{ steps.setup-python.outputs.python-path }}' --verbose
77+
run: |
78+
python -m pip install --upgrade pip
79+
python -m pip install "poetry==$POETRY_VERSION"
80+
poetry --version
8881
8982
- name: Restore pip and poetry cached dependencies
9083
uses: actions/cache@v4

.github/workflows/_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- 'action*'
1717

1818
env:
19-
POETRY_VERSION: "1.4.2"
19+
POETRY_VERSION: "1.8.2"
2020

2121
jobs:
2222
build:

0 commit comments

Comments
 (0)