@@ -238,6 +238,7 @@ jobs:
238
238
239
239
- uses : actions/checkout@v3
240
240
241
+ <<<<<<< HEAD
241
242
<<<<<<< HEAD
242
243
=======
243
244
# See the following link for a breakdown of the following step
@@ -254,6 +255,8 @@ jobs:
254
255
restore-keys : ${{ runner.os }}-${{ matrix.ghc }}-20220419-
255
256
256
257
>>>>>>> 4f5835509 (CI: no need to exclude caching on Windows anymore)
258
+ =======
259
+ >>>>>>> 3b8e6e9bf (CI: no need to restore cache before setup-haskell)
257
260
# See https://github.com/haskell/cabal/pull/8739
258
261
- name : Sudo chmod to permit ghcup to update its cache
259
262
run : |
@@ -293,6 +296,17 @@ jobs:
293
296
run : |
294
297
git config --global protocol.file.allow always
295
298
299
+ # See the following link for a breakdown of the following step
300
+ # https://github.com/haskell/actions/issues/7#issuecomment-745697160
301
+ - uses : actions/cache@v3
302
+ with :
303
+ # validate.sh uses a special build dir
304
+ path : |
305
+ ${{ steps.setup-haskell.outputs.cabal-store }}
306
+ dist-*
307
+ key : ${{ runner.os }}-${{ matrix.ghc }}-20220419-${{ github.sha }}
308
+ restore-keys : ${{ runner.os }}-${{ matrix.ghc }}-20220419-
309
+
296
310
# The '+exe' constraint below is important, otherwise cabal-install
297
311
# might decide to build the library but not the executable which is
298
312
# what we need.
@@ -410,7 +424,11 @@ jobs:
410
424
id : setup-haskell
411
425
with :
412
426
ghc-version : ${{ matrix.ghc }}
427
+ <<<<<<< HEAD
413
428
cabal-version : ' 3.8.1.0'
429
+ =======
430
+ cabal-version : latest # latest is mandatory for cabal-testsuite, see https://github.com/haskell/cabal/issues/8133
431
+ >>>>>>> 3b8e6e9bf (CI: no need to restore cache before setup-haskell)
414
432
415
433
# As we are reusing the cached build dir from the previous step
416
434
# the generated artifacts are available here,
0 commit comments