29
29
name : Hello World
30
30
runs-on : ubuntu-latest # or macOS-latest, or windows-latest
31
31
steps :
32
- - uses : actions/checkout@v3
32
+ - uses : actions/checkout@v4
33
33
- uses : haskell-actions/setup@v2
34
34
- run : runhaskell Hello.hs
35
35
` ` `
44
44
name : Hello World
45
45
runs-on : ubuntu-latest # or macOS-latest, or windows-latest
46
46
steps :
47
- - uses : actions/checkout@v3
47
+ - uses : actions/checkout@v4
48
48
- uses : haskell-actions/setup@v2
49
49
with :
50
50
ghc-version : ' 8.8' # Resolves to the latest point release of GHC 8.8
62
62
name : Hello World
63
63
runs-on : ubuntu-latest # or macOS-latest, or windows-latest
64
64
steps :
65
- - uses : actions/checkout@v3
65
+ - uses : actions/checkout@v4
66
66
- uses : haskell-actions/setup@v2
67
67
with :
68
68
ghc-version : ' 8.8.4' # Exact version of ghc to use
91
91
cabal : 2.4.1.0
92
92
name : Haskell GHC ${{ matrix.ghc }} sample
93
93
steps :
94
- - uses : actions/checkout@v3
94
+ - uses : actions/checkout@v4
95
95
- name : Setup Haskell
96
96
uses : haskell-actions/setup@v2
97
97
with :
@@ -152,7 +152,7 @@ jobs:
152
152
# The last step generates dist-newstyle/cache/plan.json for the cache key.
153
153
154
154
- name : Restore cached dependencies
155
- uses : actions/cache/restore@v3
155
+ uses : actions/cache/restore@v4
156
156
id : cache
157
157
env :
158
158
key : ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
@@ -168,7 +168,7 @@ jobs:
168
168
169
169
# Cache dependencies already here, so that we do not have to rebuild them should the subsequent steps fail.
170
170
- name : Save cached dependencies
171
- uses : actions/cache/save@v3
171
+ uses : actions/cache/save@v4
172
172
# If we had an exact cache hit, trying to save the cache would error because of key clash.
173
173
if : steps.cache.outputs.cache-hit != 'true'
174
174
with :
0 commit comments