Fix a bug in the CI script
Previously the cache action would restore an outdated version of Hackage
snapshot overwriting the results of the cabal v2-update.
commit18725688f482ed7422bb5f56adea1d1f365b42ce
authorMark Karpov <markkarpov92@gmail.com>
dateSat 25 Jul 2020, 00:53 (6 years ago)
parent09f0a2c
.github/workflows/ci.yaml+2−2
@@ -19,6 +19,7 @@ jobs:
1919 steps:
2020 - uses: actions/checkout@v2
2121 - uses: actions/setup-haskell@v1.1.2
22+ id: setup-haskell-cabal
2223 with:
2324 ghc-version: ${{ matrix.ghc }}
2425 cabal-version: ${{ matrix.cabal }}
@@ -27,8 +28,7 @@ jobs:
2728 - uses: actions/cache@v2
2829 with:
2930 path: |
30− ~/.cabal/packages
31− ~/.cabal/store
31+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
3232 dist-newstyle
3333 key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
3434 restore-keys: |