Skip to content

Commit

Permalink
Cache better pls
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey committed Nov 18, 2023
1 parent 3025493 commit 13ec0bb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/smol-haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
build:
strategy:
matrix:
command:
things:
- "make test-smol"
- "make test-smol-backend"
- "make test-smol-wasm"
- "make test-smol-modules"
- "make build-smol-repl"

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand All @@ -28,6 +29,12 @@ jobs:
with:
version: "14.0"

- uses: haskell-actions/setup@v2
id: setup-haskell-build-env
with:
ghc-version: '9.6.3'
cabal-version: '3.10.1.0'

- name: Cache Cabal build artifacts
uses: actions/cache@v3
with:
Expand All @@ -38,11 +45,6 @@ jobs:
restore-keys: |
${{ runner.os }}-cabal-9.6.3
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.6.3'
cabal-version: '3.10.1.0'

- name: Test!
run: ${{ matrix.command }}

0 comments on commit 13ec0bb

Please sign in to comment.