Try to cache stack and ghc install
Some checks failed
check and push / stack test (push) Has been cancelled
check and push / flake check (no push) (push) Has been cancelled
check and push / flake check and push (push) Has been cancelled

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