Skip to content

Commit 4f98c18

Browse files
cdce8pPierre-Sassoulas
authored andcommitted
Use cache restore if fail-on-cache-miss is set
1 parent 5de46d8 commit 4f98c18

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/checks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
check-latest: true
9999
- name: Restore Python virtual environment
100100
id: cache-venv
101-
uses: actions/[email protected]
101+
uses: actions/cache/restore@v4.2.4
102102
with:
103103
path: venv
104104
fail-on-cache-miss: true
@@ -107,7 +107,7 @@ jobs:
107107
needs.prepare-base.outputs.python-key }}
108108
- name: Restore pre-commit environment
109109
id: cache-precommit
110-
uses: actions/[email protected]
110+
uses: actions/cache/restore@v4.2.4
111111
with:
112112
path: ${{ env.PRE_COMMIT_CACHE }}
113113
fail-on-cache-miss: true
@@ -139,7 +139,7 @@ jobs:
139139
check-latest: true
140140
- name: Restore Python virtual environment
141141
id: cache-venv
142-
uses: actions/[email protected]
142+
uses: actions/cache/restore@v4.2.4
143143
with:
144144
path: venv
145145
fail-on-cache-miss: true
@@ -168,7 +168,7 @@ jobs:
168168
check-latest: true
169169
- name: Restore Python virtual environment
170170
id: cache-venv
171-
uses: actions/[email protected]
171+
uses: actions/cache/restore@v4.2.4
172172
with:
173173
path: venv
174174
fail-on-cache-miss: true

.github/workflows/primer-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
check-latest: true
8585
- name: Restore Python virtual environment
8686
id: cache-venv
87-
uses: actions/[email protected]
87+
uses: actions/cache/restore@v4.2.4
8888
with:
8989
path: venv
9090
fail-on-cache-miss: true

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
check-latest: true
112112
- name: Restore Python virtual environment
113113
id: cache-venv
114-
uses: actions/[email protected]
114+
uses: actions/cache/restore@v4.2.4
115115
with:
116116
path: venv
117117
fail-on-cache-miss: true
@@ -151,7 +151,7 @@ jobs:
151151
check-latest: true
152152
- name: Restore Python virtual environment
153153
id: cache-venv
154-
uses: actions/[email protected]
154+
uses: actions/cache/restore@v4.2.4
155155
with:
156156
path: venv
157157
fail-on-cache-miss: true

0 commit comments

Comments
 (0)