Skip to content

Commit

Permalink
Add CI cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mniip committed Dec 20, 2023
1 parent 413b632 commit ad5c0a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc_version }}
cabal-version: "3.10.1.0"
- name: Cache
uses: actions/cache@v3
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-stack-${{ matrix.ghc_version }}
- name: cabal configure
run: cabal configure --with-ghc=ghc-${{ matrix.ghc_version }}
- name: Install dependencies
Expand Down

0 comments on commit ad5c0a8

Please sign in to comment.