Skip to content

Commit 89cb1eb

Browse files
committed
fix: move poetry install before setup-python, bump actions to v5/v6
- verify.yml, security.yml: install poetry before setup-python (fixes 'poetry not found' in cache lookup) - all workflows: checkout@v4 -> v5, setup-python@v5 -> v6 (fixes Node.js 20 deprecation warnings)
1 parent 3cdca6c commit 89cb1eb

4 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/qa.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323

2424
- name: Install Poetry
2525
run: pipx install poetry
2626

2727
- name: Setup Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: ${{ env.PYTHON_VERSION }}
3131
cache: poetry
@@ -53,13 +53,13 @@ jobs:
5353

5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@v5
5757

5858
- name: Install Poetry
5959
run: pipx install poetry
6060

6161
- name: Setup Python
62-
uses: actions/setup-python@v5
62+
uses: actions/setup-python@v6
6363
with:
6464
python-version: ${{ matrix.python-version }}
6565
cache: poetry

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333
with:
3434
# Full history is required by semantic-version to inspect commit history.
3535
fetch-depth: 0
@@ -96,12 +96,12 @@ jobs:
9696

9797
steps:
9898
- name: Checkout
99-
uses: actions/checkout@v4
99+
uses: actions/checkout@v5
100100
with:
101101
ref: ${{ github.event.pull_request.merge_commit_sha }}
102102

103103
- name: Setup Python
104-
uses: actions/setup-python@v5
104+
uses: actions/setup-python@v6
105105
with:
106106
python-version: ${{ env.PYTHON_VERSION }}
107107
cache: poetry

.github/workflows/security.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
23+
24+
- name: Install Poetry
25+
run: pipx install poetry
2326

2427
- name: Setup Python
25-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2629
with:
2730
python-version: ${{ env.PYTHON_VERSION }}
2831
cache: poetry
2932
cache-dependency-path: poetry.lock
3033

31-
- name: Install Poetry
32-
run: pipx install poetry
33-
3434
- name: Install pip-audit
3535
run: pipx install pip-audit
3636

.github/workflows/verify.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
23+
24+
- name: Install Poetry
25+
run: pipx install poetry
2326

2427
- name: Setup Python
25-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2629
with:
2730
python-version: ${{ env.PYTHON_VERSION }}
2831
cache: poetry
2932
cache-dependency-path: poetry.lock
3033

31-
- name: Install Poetry
32-
run: pipx install poetry
33-
3434
- name: Install dependencies
3535
run: poetry install --no-interaction --no-ansi
3636

@@ -44,18 +44,18 @@ jobs:
4444

4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@v5
48+
49+
- name: Install Poetry
50+
run: pipx install poetry
4851

4952
- name: Setup Python
50-
uses: actions/setup-python@v5
53+
uses: actions/setup-python@v6
5154
with:
5255
python-version: ${{ env.PYTHON_VERSION }}
5356
cache: poetry
5457
cache-dependency-path: poetry.lock
5558

56-
- name: Install Poetry
57-
run: pipx install poetry
58-
5959
- name: Install dependencies
6060
run: poetry install --no-interaction --no-ansi
6161

0 commit comments

Comments
 (0)