Skip to content

Commit 4d245ed

Browse files
committed
fix(ci): remove restore-keys from cache to always use latest lockfile
1 parent e2b6484 commit 4d245ed

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ jobs:
4848
with:
4949
path: .venv
5050
key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
51-
restore-keys: |
52-
venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-
5351

5452
- name: Install dependencies
5553
if: steps.cache-deps.outputs.cache-hit != 'true'
@@ -86,8 +84,6 @@ jobs:
8684
with:
8785
path: .venv
8886
key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
89-
restore-keys: |
90-
venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ steps.setup-python.outputs.python-version }}-
9187

9288
- name: Install dependencies
9389
if: steps.cache-deps.outputs.cache-hit != 'true'
@@ -189,8 +185,6 @@ jobs:
189185
with:
190186
path: .venv
191187
key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
192-
restore-keys: |
193-
venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-
194188

195189
- name: Install dependencies
196190
if: steps.cache-deps.outputs.cache-hit != 'true'
@@ -327,8 +321,6 @@ jobs:
327321
with:
328322
path: .venv
329323
key: venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
330-
restore-keys: |
331-
venv-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-
332324

333325
- name: Install dependencies
334326
if: steps.cache-deps.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)