diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8eb2c59..328bbdfb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,16 +40,9 @@ jobs: - uses: hspec/setup-haskell@v1 with: ghc-version: ${{ matrix.ghc }} - id: setup-haskell - - - run: cabal update - - uses: actions/cache@v3 - with: - path: ${{ runner.os == 'Windows' && 'C:/cabal/store/' || runner.os == 'macOS' && '~/.cabal/store/' || '~/.local/state/cabal/store/' }} - key: ${{ runner.os }}-${{ steps.setup-haskell.outputs.ghc-version }}-${{ github.run_id }} - restore-keys: ${{ runner.os }}-${{ steps.setup-haskell.outputs.ghc-version }}- - - uses: sol/run-haskell-tests@v1 + with: + caching: true success: needs: build