Skip to content

Commit

Permalink
Update Python version and Poetry installation setup
Browse files Browse the repository at this point in the history
The Python version is now set using a version file. Instead of directly installing a Poetry version, the setup now references a preferred Poetry version from a dedicated .poetry-version file. It also involves an update to the 'actions/setup-python' action from v4 to v5.
  • Loading branch information
meanmail committed Jan 14, 2024
1 parent f5275b3 commit 2ba9c15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ runs:
pipx
shell: bash
- name: Install Poetry
run: pipx install poetry
run: pipx install poetry==$(head -n 1 .poetry-version)
shell: bash
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version-file: '.python-version'
cache: 'poetry'
- name: Install dependencies
run: poetry install --only main,dev --no-interaction --no-ansi
Expand Down

0 comments on commit 2ba9c15

Please sign in to comment.