Try to cache stack and ghc install
Some checks are pending
check and push / stack test (push) Waiting to run
check and push / flake check (no push) (push) Waiting to run
check and push / flake check and push (push) Waiting to run

This commit is contained in:
Bryan Richter 2026-02-13 10:41:05 +02:00
parent 33ca535e17
commit e84c1a82be
No known key found for this signature in database
GPG Key ID: B202264020068BFB

View File

@ -13,20 +13,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: haskell/ghcup-setup@v1
id: ghcup
with:
stack-hook: true
- uses: actions/cache@v4
with:
path: |
~/.ghcup
${{ steps.ghcup.outputs.basedir }}
~/.stack
key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml') }}
restore-keys: |
stack-${{ runner.os }}-
${{ runner.os }}-
- uses: haskell/ghcup-setup@v1
with:
stack-hook: true
- run: |
ghcup install stack
- run: ghcup install stack
- run: stack test
flake-no-push: