Skip to content

Commit 00f28dd

Browse files
committed
Update GH actions versions in all workflows
1 parent a95e046 commit 00f28dd

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
GH_PAGES_BRANCH: benchmark-pages
2020

2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v6
2323

2424
- uses: cachix/install-nix-action@v31
2525
with:

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
url: ${{ steps.deployment.outputs.page_url }}
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222

2323
- name: Install Haskell
2424
uses: input-output-hk/setup-haskell@v1

.github/workflows/haskell.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
shell: bash
5757

5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v6
6060

6161
- name: Free up disk space
6262
run: |
@@ -126,7 +126,7 @@ jobs:
126126
| tee dependencies.txt
127127
128128
- name: Restore cache
129-
uses: actions/cache/restore@v4
129+
uses: actions/cache/restore@v5
130130
id: restore-cabal-cache
131131
env:
132132
cache-name: cache-cabal-build
@@ -158,7 +158,7 @@ jobs:
158158
# Save the cache of built dependencies early, so that it is available for
159159
# the next GHA run if the Build step fails.
160160
- name: Save cache
161-
uses: actions/cache/save@v4
161+
uses: actions/cache/save@v5
162162
id: save-cabal-cache
163163
# Note: cache-hit will be set to true only when cache hit occurs for the
164164
# exact key match. For a partial key match via restore-keys or a cache
@@ -177,9 +177,7 @@ jobs:
177177
# default format uses a one-second resolution for timestamps
178178
run: tar --use-compress-program zstdmt --format posix --exclude-vcs -cf /var/tmp/state.tzst . && mv /var/tmp/state.tzst .
179179
- name: Upload working directory archive
180-
# upload-artifact is pinned to avoid a bug in download-artifact
181-
# See https://github.com/actions/download-artifact/issues/328
182-
uses: actions/upload-artifact@v4.2.0
180+
uses: actions/upload-artifact@v7
183181
with:
184182
name: state-${{ matrix.ghc }}-${{ matrix.os }}
185183
path: state.tzst
@@ -296,7 +294,7 @@ jobs:
296294
297295
# Retrieve working directory from build jobs
298296
- name: Download working directory archive
299-
uses: actions/download-artifact@v4
297+
uses: actions/download-artifact@v8
300298
with:
301299
name: state-${{ matrix.ghc }}-${{ matrix.os }}
302300

@@ -314,7 +312,7 @@ jobs:
314312
./scripts/file-not-null.sh dependencies.txt
315313
316314
- name: Restore cache
317-
uses: actions/cache/restore@v4
315+
uses: actions/cache/restore@v5
318316
id: restore-cabal-cache
319317
env:
320318
cache-name: cache-cabal-build
@@ -367,7 +365,7 @@ jobs:
367365
fail-fast: false
368366

369367
steps:
370-
- uses: actions/checkout@v4
368+
- uses: actions/checkout@v6
371369

372370
- name: Install fourmolu
373371
run: |
@@ -385,7 +383,7 @@ jobs:
385383
runs-on: ubuntu-latest
386384

387385
steps:
388-
- uses: actions/checkout@v4
386+
- uses: actions/checkout@v6
389387

390388
- name: Install shellcheck
391389
run: |
@@ -421,7 +419,7 @@ jobs:
421419
shell: bash
422420

423421
steps:
424-
- uses: actions/checkout@v4
422+
- uses: actions/checkout@v6
425423

426424
- name: Free up disk space
427425
run: |
@@ -456,7 +454,7 @@ jobs:
456454

457455
# Retrieve working directory from build jobs
458456
- name: Download working directory archive
459-
uses: actions/download-artifact@v4
457+
uses: actions/download-artifact@v8
460458
with:
461459
name: state-${{ env.ghc-version }}-${{ env.os }}
462460

@@ -474,7 +472,7 @@ jobs:
474472
./scripts/file-not-null.sh dependencies.txt
475473
476474
- name: Restore cache
477-
uses: actions/cache/restore@v4
475+
uses: actions/cache/restore@v5
478476
id: restore-cabal-cache
479477
env:
480478
cache-name: cache-cabal-build
@@ -501,7 +499,7 @@ jobs:
501499
fail-fast: false
502500

503501
steps:
504-
- uses: actions/checkout@v4
502+
- uses: actions/checkout@v6
505503
- uses: tfausak/cabal-gild-setup-action@v2
506504
with:
507505
version: 1.5.0.1
@@ -521,7 +519,7 @@ jobs:
521519
steps:
522520
- name: Cache implicit-hie executable (gen-hie)
523521
id: cache-gen-hie
524-
uses: actions/cache@v4
522+
uses: actions/cache@v5
525523
with:
526524
path: |
527525
~/.cabal/bin/gen-hie
@@ -541,7 +539,7 @@ jobs:
541539
- name: Add cabal-bin to PATH
542540
run: echo "$HOME/.cabal/bin" >> $GITHUB_PATH
543541

544-
- uses: actions/checkout@v4
542+
- uses: actions/checkout@v6
545543

546544
- name: Regenerate hie.yaml and confirm that it is in sync
547545
run: ./scripts/gen-hie.sh
@@ -551,7 +549,7 @@ jobs:
551549
runs-on: ubuntu-latest
552550
if: ${{ github.base_ref != '' && github.ref != '' }} # Only true for PRs
553551
steps:
554-
- uses: actions/checkout@v4
552+
- uses: actions/checkout@v6
555553
- name: Ensure the branch doesn't contain any merges
556554
run: |
557555
PR_TARGET=${{ github.base_ref }}
@@ -599,7 +597,7 @@ jobs:
599597
shell: bash
600598

601599
steps:
602-
- uses: actions/checkout@v4
600+
- uses: actions/checkout@v6
603601
- name: Check formal-ledger-specifications SRP commit hash
604602
run: |
605603
TAG=$(sed -ne \
@@ -622,7 +620,7 @@ jobs:
622620
if: ${{ github.base_ref != '' && github.ref != '' }} # Only true for PRs
623621

624622
steps:
625-
- uses: actions/checkout@v4
623+
- uses: actions/checkout@v6
626624
- name: Check for `undefined`s in the diffs
627625
run: |
628626
PR_TARGET=${{ github.base_ref }}
@@ -641,7 +639,7 @@ jobs:
641639
runs-on: ubuntu-latest
642640

643641
steps:
644-
- uses: actions/checkout@v4
642+
- uses: actions/checkout@v6
645643

646644
- name: Install changelog linter
647645
run: |

.github/workflows/push-specs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: write
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v6
1616
- uses: cachix/install-nix-action@v18
1717
with:
1818
nix_path: nixpkgs=channel:nixos-unstable

0 commit comments

Comments
 (0)