Merge pull request #368 from commercialhaskell/b/better-ci-cache
Some checks failed
CI / stack test (push) Has been cancelled
CI / flake check and push (push) Has been cancelled
biweekly cache warmup / stack test (push) Has been cancelled

Experiment: do I need to cache myself?
This commit is contained in:
Bryan Richter 2026-04-13 13:51:26 +03:00 committed by GitHub
commit cf71b274a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View File

@ -7,16 +7,13 @@ runs:
id: ghcup
with:
stack-hook: true
stack: latest
- uses: actions/cache@v4
with:
path: |
${{ steps.ghcup.outputs.basedir }}
~/.stack
path: ~/.stack
key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml') }}
restore-keys: |
stack-${{ runner.os }}-
${{ runner.os }}-
- run: ghcup install stack
shell: bash
- run: stack test
shell: bash

View File

@ -18,7 +18,6 @@ jobs:
flake-check:
name: flake check and push
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6