Skip to content

Commit

Permalink
Add caching on nix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergv committed Dec 15, 2024
1 parent ad6ecb0 commit 9a75fd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/haskell-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ jobs:
- name: Build atomic-counter nix shell
run: nix build -L '.#devShells.${{ matrix.arch }}.ci-shell'

- uses: actions/cache@v4
name: Cache cabal store
with:
path: ~/.cabal/store
key: nix-${{ matrix.arch }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-

- name: Unpack
run: |
proj_dir="$(pwd)"
Expand Down

0 comments on commit 9a75fd9

Please sign in to comment.