2929 name : Hello World
3030 runs-on : ubuntu-latest # or macOS-latest, or windows-latest
3131 steps :
32- - uses : actions/checkout@v3
32+ - uses : actions/checkout@v4
3333 - uses : haskell-actions/setup@v2
3434 - run : runhaskell Hello.hs
3535` ` `
4444 name : Hello World
4545 runs-on : ubuntu-latest # or macOS-latest, or windows-latest
4646 steps :
47- - uses : actions/checkout@v3
47+ - uses : actions/checkout@v4
4848 - uses : haskell-actions/setup@v2
4949 with :
5050 ghc-version : ' 8.8' # Resolves to the latest point release of GHC 8.8
6262 name : Hello World
6363 runs-on : ubuntu-latest # or macOS-latest, or windows-latest
6464 steps :
65- - uses : actions/checkout@v3
65+ - uses : actions/checkout@v4
6666 - uses : haskell-actions/setup@v2
6767 with :
6868 ghc-version : ' 8.8.4' # Exact version of ghc to use
9191 cabal : 2.4.1.0
9292 name : Haskell GHC ${{ matrix.ghc }} sample
9393 steps :
94- - uses : actions/checkout@v3
94+ - uses : actions/checkout@v4
9595 - name : Setup Haskell
9696 uses : haskell-actions/setup@v2
9797 with :
@@ -152,7 +152,7 @@ jobs:
152152 # The last step generates dist-newstyle/cache/plan.json for the cache key.
153153
154154 - name : Restore cached dependencies
155- uses : actions/cache/restore@v3
155+ uses : actions/cache/restore@v4
156156 id : cache
157157 env :
158158 key : ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
@@ -168,7 +168,7 @@ jobs:
168168
169169 # Cache dependencies already here, so that we do not have to rebuild them should the subsequent steps fail.
170170 - name : Save cached dependencies
171- uses : actions/cache/save@v3
171+ uses : actions/cache/save@v4
172172 # If we had an exact cache hit, trying to save the cache would error because of key clash.
173173 if : steps.cache.outputs.cache-hit != 'true'
174174 with :
0 commit comments