Skip to content

Commit 3a7e7e2

Browse files
committed
Pin Poetry version in CI
1 parent 334013e commit 3a7e7e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/lint-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,20 @@ jobs:
8484
uses: actions/cache@v4
8585
with:
8686
path: ~/.local
87-
key: poetry-0 # increment to reset cache
87+
key: poetry-1 # increment to reset cache
8888

8989
- name: Install Poetry 📜
9090
if: steps.poetry.outputs.cache-hit != 'true'
9191
uses: snok/install-poetry@v1
92+
with:
93+
version: 1.8.5
9294

9395
- name: Restore Poetry environments 📌
9496
id: poetry-venvs
9597
uses: actions/cache@v4
9698
with:
9799
path: ~/.cache/pypoetry/virtualenvs
98-
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-1 # increment to reset cache
100+
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-3 # increment to reset cache
99101

100102
- name: Create Poetry environments 📜
101103
if: steps.poetry-venvs.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)