Skip to content

Commit dea49d5

Browse files
authored
Merge pull request #601 from Concordium/update-cache-version
Update the cache version in github actions.
2 parents ef7c594 + 9241f92 commit dea49d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-test-sources.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
# Set up Rust and restore dependencies and targets from cache.
174174
# This must be done before checking the Rust sources.
175175
- name: Cache cargo dependencies and targets
176-
uses: actions/cache@v2
176+
uses: actions/cache@v4
177177
with:
178178
path: |
179179
~/.cargo/registry
@@ -230,22 +230,22 @@ jobs:
230230
# but will fall back to cache entries from different versions if no match is found.
231231
- name: Cache stack global package DB
232232
id: stack-global
233-
uses: actions/cache@v2
233+
uses: actions/cache@v4
234234
with:
235235
path: ~/.stack
236236
key: ${{ runner.os }}-{{ env.dummy }}-stack-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
237237
restore-keys: |
238238
${{ runner.os }}-{{ env.dummy }}-stack-global-${{ matrix.plan.ghc }}
239239
- name: Cache stack-installed programs in '~/.local/bin'
240240
id: stack-programs
241-
uses: actions/cache@v2
241+
uses: actions/cache@v4
242242
with:
243243
path: ~/.local/bin
244244
key: ${{ runner.os }}-{{ env.dummy }}-stack-programs-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}
245245
restore-keys: |
246246
${{ runner.os }}-{{ env.dummy }}-stack-programs-${{ matrix.plan.ghc }}
247247
- name: Cache '.stack-work'
248-
uses: actions/cache@v2
248+
uses: actions/cache@v4
249249
with:
250250
path: .stack-work
251251
key: ${{ runner.os }}-{{ env.dummy }}-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }}

0 commit comments

Comments
 (0)