File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,18 @@ jobs:
37
37
# Steps represent a sequence of tasks that will be executed as part of the job
38
38
steps :
39
39
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
40
- - uses : actions/checkout@v3
40
+ - uses : actions/checkout@v4
41
41
with :
42
42
fetch-depth : 0
43
43
44
- - uses : haskell/ actions/setup@v2
44
+ - uses : haskell- actions/setup@v2
45
45
name : Setup Haskell Stack
46
46
with :
47
47
ghc-version : ${{ matrix.ghc }}
48
48
stack-version : ${{ matrix.stack }}
49
49
50
- - uses : actions/cache/restore@v3
50
+ - uses : actions/cache/restore@v4
51
+ id : cache
51
52
name : Cache ~/.stack
52
53
with :
53
54
path : ~/.stack
57
58
- name : Build dependencies
58
59
run : stack build --system-ghc --only-dependencies
59
60
60
- - uses : actions/cache/save@v3
61
+ - uses : actions/cache/save@v4
62
+ # We shouldn't ever run into an exact key hit (in theory),
63
+ # but this prevents errors if we do.
64
+ if : steps.cache.outputs.cache-hit != 'true'
61
65
with :
62
66
path : ~/.stack
63
67
key : ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
You can’t perform that action at this time.
0 commit comments