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 id: ghcup
with: with:
stack-hook: true stack-hook: true
stack: latest
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
path: | path: ~/.stack
${{ steps.ghcup.outputs.basedir }}
~/.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 }}-
- run: ghcup install stack
shell: bash
- run: stack test - run: stack test
shell: bash shell: bash

View File

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