Skip to content

Commit 7753c7a

Browse files
committed
Bump actions/cache and actions/upload-artifact to v4 in CI
1 parent 528807e commit 7753c7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
nix_path: "${{ env.nixpkgs-url }}"
2020
- name: Cache Cabal dependencies
21-
uses: actions/cache@v2
21+
uses: actions/cache@v4
2222
with:
2323
path: |
2424
~/.cabal/packages
@@ -45,7 +45,7 @@ jobs:
4545
- name: Run benchmarks
4646
run: nix-shell --arg ghcVersion '"${{ matrix.ghc-version }}"' --arg installHls 'false' --pure --run "cabal bench 2>&1 | tee benchmark_ghc${{ matrix.ghc-version }}.txt"
4747
- name: Upload benchmark results
48-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
4949
with:
5050
name: linear-base_benchmarks_ghc${{ matrix.ghc-version }}
5151
path: |
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
nix_path: "${{ env.nixpkgs-url }}"
6363
- name: Cache Stack dependencies
64-
uses: actions/cache@v2
64+
uses: actions/cache@v4
6565
with:
6666
path: ~/.stack
6767
key: stack-deps-ormolu-${{ runner.os }}-${{ hashFiles('nix/sources.json') }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('stack.yaml.lock') }}-${{ github.sha }}
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
nix_path: "${{ env.nixpkgs-url }}"
8282
- name: Cache Stack dependencies
83-
uses: actions/cache@v2
83+
uses: actions/cache@v4
8484
with:
8585
path: ~/.stack
8686
key: stack-deps-${{ runner.os }}-${{ hashFiles('nix/sources.json') }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('stack.yaml.lock', 'linear-base.cabal') }}-${{ github.sha }}

0 commit comments

Comments
 (0)