Skip to content

Commit 3f5aea4

Browse files
authored
Merge pull request #820 from haskell-CI/checkout-v7
Update checkout and cache actions
2 parents 3069286 + 6dde33a commit 3f5aea4

17 files changed

Lines changed: 57 additions & 57 deletions

.github/workflows/haskell-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
run: |
166166
$CABAL v2-update -v
167167
- name: cache (tools)
168-
uses: actions/cache/restore@v4
168+
uses: actions/cache/restore@v5
169169
with:
170170
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-e88c451c
171171
path: ~/.haskell-ci-tools
@@ -193,12 +193,12 @@ jobs:
193193
if [ $((HCNUMVER < 90000)) -ne 0 ] ; then doctest --version ; fi
194194
- name: save cache (tools)
195195
if: always()
196-
uses: actions/cache/save@v4
196+
uses: actions/cache/save@v5
197197
with:
198198
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-e88c451c
199199
path: ~/.haskell-ci-tools
200200
- name: checkout
201-
uses: actions/checkout@v5
201+
uses: actions/checkout@v7
202202
with:
203203
path: source
204204
- name: initial cabal.project for sdist
@@ -260,7 +260,7 @@ jobs:
260260
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
261261
cabal-plan
262262
- name: restore cache
263-
uses: actions/cache/restore@v4
263+
uses: actions/cache/restore@v5
264264
with:
265265
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
266266
path: ~/.cabal/store
@@ -313,7 +313,7 @@ jobs:
313313
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --prefer-oldest all
314314
- name: save cache
315315
if: always()
316-
uses: actions/cache/save@v4
316+
uses: actions/cache/save@v5
317317
with:
318318
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
319319
path: ~/.cabal/store

fixtures/all-versions.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ jobs:
434434
chmod a+x $HOME/.cabal/bin/cabal-plan
435435
cabal-plan --version
436436
- name: checkout
437-
uses: actions/checkout@v5
437+
uses: actions/checkout@v7
438438
with:
439439
path: source
440440
- name: initial cabal.project for sdist
@@ -474,7 +474,7 @@ jobs:
474474
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
475475
cabal-plan
476476
- name: restore cache
477-
uses: actions/cache/restore@v4
477+
uses: actions/cache/restore@v5
478478
with:
479479
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
480480
path: ~/.cabal/store
@@ -505,7 +505,7 @@ jobs:
505505
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
506506
- name: save cache
507507
if: always()
508-
uses: actions/cache/save@v4
508+
uses: actions/cache/save@v5
509509
with:
510510
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
511511
path: ~/.cabal/store

fixtures/conditionals.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
chmod a+x $HOME/.cabal/bin/cabal-plan
241241
cabal-plan --version
242242
- name: checkout
243-
uses: actions/checkout@v5
243+
uses: actions/checkout@v7
244244
with:
245245
path: source
246246
- name: initial cabal.project for sdist
@@ -282,7 +282,7 @@ jobs:
282282
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
283283
cabal-plan
284284
- name: restore cache
285-
uses: actions/cache/restore@v4
285+
uses: actions/cache/restore@v5
286286
with:
287287
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
288288
path: ~/.cabal/store
@@ -315,7 +315,7 @@ jobs:
315315
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
316316
- name: save cache
317317
if: always()
318-
uses: actions/cache/save@v4
318+
uses: actions/cache/save@v5
319319
with:
320320
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
321321
path: ~/.cabal/store

fixtures/copy-fields-all.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
chmod a+x $HOME/.cabal/bin/cabal-plan
241241
cabal-plan --version
242242
- name: checkout
243-
uses: actions/checkout@v5
243+
uses: actions/checkout@v7
244244
with:
245245
path: source
246246
- name: initial cabal.project for sdist
@@ -305,7 +305,7 @@ jobs:
305305
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
306306
cabal-plan
307307
- name: restore cache
308-
uses: actions/cache/restore@v4
308+
uses: actions/cache/restore@v5
309309
with:
310310
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
311311
path: ~/.cabal/store
@@ -342,7 +342,7 @@ jobs:
342342
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
343343
- name: save cache
344344
if: always()
345-
uses: actions/cache/save@v4
345+
uses: actions/cache/save@v5
346346
with:
347347
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
348348
path: ~/.cabal/store

fixtures/copy-fields-none.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
chmod a+x $HOME/.cabal/bin/cabal-plan
241241
cabal-plan --version
242242
- name: checkout
243-
uses: actions/checkout@v5
243+
uses: actions/checkout@v7
244244
with:
245245
path: source
246246
- name: initial cabal.project for sdist
@@ -294,7 +294,7 @@ jobs:
294294
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
295295
cabal-plan
296296
- name: restore cache
297-
uses: actions/cache/restore@v4
297+
uses: actions/cache/restore@v5
298298
with:
299299
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
300300
path: ~/.cabal/store
@@ -331,7 +331,7 @@ jobs:
331331
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
332332
- name: save cache
333333
if: always()
334-
uses: actions/cache/save@v4
334+
uses: actions/cache/save@v5
335335
with:
336336
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
337337
path: ~/.cabal/store

fixtures/copy-fields-some.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
chmod a+x $HOME/.cabal/bin/cabal-plan
241241
cabal-plan --version
242242
- name: checkout
243-
uses: actions/checkout@v5
243+
uses: actions/checkout@v7
244244
with:
245245
path: source
246246
- name: initial cabal.project for sdist
@@ -297,7 +297,7 @@ jobs:
297297
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
298298
cabal-plan
299299
- name: restore cache
300-
uses: actions/cache/restore@v4
300+
uses: actions/cache/restore@v5
301301
with:
302302
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
303303
path: ~/.cabal/store
@@ -334,7 +334,7 @@ jobs:
334334
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
335335
- name: save cache
336336
if: always()
337-
uses: actions/cache/save@v4
337+
uses: actions/cache/save@v5
338338
with:
339339
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
340340
path: ~/.cabal/store

fixtures/doctest-version.github

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ jobs:
425425
run: |
426426
$CABAL v2-update -v
427427
- name: cache (tools)
428-
uses: actions/cache/restore@v4
428+
uses: actions/cache/restore@v5
429429
with:
430430
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-7adc43de
431431
path: ~/.haskell-ci-tools
@@ -444,12 +444,12 @@ jobs:
444444
if [ $((! GHCJSARITH)) -ne 0 ] ; then doctest --version ; fi
445445
- name: save cache (tools)
446446
if: always()
447-
uses: actions/cache/save@v4
447+
uses: actions/cache/save@v5
448448
with:
449449
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-7adc43de
450450
path: ~/.haskell-ci-tools
451451
- name: checkout
452-
uses: actions/checkout@v5
452+
uses: actions/checkout@v7
453453
with:
454454
path: source
455455
- name: initial cabal.project for sdist
@@ -489,7 +489,7 @@ jobs:
489489
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
490490
cabal-plan
491491
- name: restore cache
492-
uses: actions/cache/restore@v4
492+
uses: actions/cache/restore@v5
493493
with:
494494
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
495495
path: ~/.cabal/store
@@ -524,7 +524,7 @@ jobs:
524524
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
525525
- name: save cache
526526
if: always()
527-
uses: actions/cache/save@v4
527+
uses: actions/cache/save@v5
528528
with:
529529
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
530530
path: ~/.cabal/store

fixtures/doctest.github

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ jobs:
425425
run: |
426426
$CABAL v2-update -v
427427
- name: cache (tools)
428-
uses: actions/cache/restore@v4
428+
uses: actions/cache/restore@v5
429429
with:
430430
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-cc3c62c0
431431
path: ~/.haskell-ci-tools
@@ -444,12 +444,12 @@ jobs:
444444
if [ $((! GHCJSARITH)) -ne 0 ] ; then doctest --version ; fi
445445
- name: save cache (tools)
446446
if: always()
447-
uses: actions/cache/save@v4
447+
uses: actions/cache/save@v5
448448
with:
449449
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-cc3c62c0
450450
path: ~/.haskell-ci-tools
451451
- name: checkout
452-
uses: actions/checkout@v5
452+
uses: actions/checkout@v7
453453
with:
454454
path: source
455455
- name: initial cabal.project for sdist
@@ -489,7 +489,7 @@ jobs:
489489
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
490490
cabal-plan
491491
- name: restore cache
492-
uses: actions/cache/restore@v4
492+
uses: actions/cache/restore@v5
493493
with:
494494
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
495495
path: ~/.cabal/store
@@ -524,7 +524,7 @@ jobs:
524524
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
525525
- name: save cache
526526
if: always()
527-
uses: actions/cache/save@v4
527+
uses: actions/cache/save@v5
528528
with:
529529
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
530530
path: ~/.cabal/store

fixtures/empty-line.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ jobs:
252252
chmod a+x $HOME/.cabal/bin/cabal-plan
253253
cabal-plan --version
254254
- name: checkout
255-
uses: actions/checkout@v5
255+
uses: actions/checkout@v7
256256
with:
257257
path: source
258258
- name: initial cabal.project for sdist
@@ -328,7 +328,7 @@ jobs:
328328
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
329329
cabal-plan
330330
- name: restore cache
331-
uses: actions/cache/restore@v4
331+
uses: actions/cache/restore@v5
332332
with:
333333
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
334334
path: ~/.cabal/store
@@ -365,7 +365,7 @@ jobs:
365365
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
366366
- name: save cache
367367
if: always()
368-
uses: actions/cache/save@v4
368+
uses: actions/cache/save@v5
369369
with:
370370
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
371371
path: ~/.cabal/store

fixtures/enabled-jobs.github

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ jobs:
434434
chmod a+x $HOME/.cabal/bin/cabal-plan
435435
cabal-plan --version
436436
- name: checkout
437-
uses: actions/checkout@v5
437+
uses: actions/checkout@v7
438438
with:
439439
path: source
440440
- name: initial cabal.project for sdist
@@ -474,7 +474,7 @@ jobs:
474474
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
475475
cabal-plan
476476
- name: restore cache
477-
uses: actions/cache/restore@v4
477+
uses: actions/cache/restore@v5
478478
with:
479479
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
480480
path: ~/.cabal/store
@@ -505,7 +505,7 @@ jobs:
505505
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
506506
- name: save cache
507507
if: always()
508-
uses: actions/cache/save@v4
508+
uses: actions/cache/save@v5
509509
with:
510510
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
511511
path: ~/.cabal/store

0 commit comments

Comments
 (0)