Skip to content

Commit

Permalink
Update .github/workflows/build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed Nov 16, 2023
1 parent 9a1b938 commit d1dfdca
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1dfdca

Please sign in to comment.