Skip to content

Commit

Permalink
continue being more specific about cacheing.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialongtin committed Jan 28, 2024
1 parent 11bdd6b commit 45f67b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Expand Up @@ -22,10 +22,11 @@ jobs:
fi
- name: freeze
run: cabal freeze
- uses: "actions/cache@v2"
- uses: "actions/cache/restore@v4"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- name: Install dependencies
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies
- name: build all
Expand Down Expand Up @@ -59,10 +60,11 @@ jobs:
fi
- name: freeze
run: cabal freeze
- uses: "actions/cache@v2"
- uses: "actions/cache/restore@v4"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- name: Install dependencies
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies
- name: build all
Expand Down Expand Up @@ -98,10 +100,11 @@ jobs:
fi
- name: freeze
run: cabal freeze
- uses: "actions/cache@v2"
- uses: "actions/cache@v4"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-build-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
- name: Install dependencies
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies
- name: build all
Expand Down

0 comments on commit 45f67b6

Please sign in to comment.