mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-06-15 10:52:32 +02:00
Merge pull request #368 from commercialhaskell/b/better-ci-cache
Experiment: do I need to cache myself?
This commit is contained in:
commit
cf71b274a3
7
.github/actions/stack-test/action.yml
vendored
7
.github/actions/stack-test/action.yml
vendored
@ -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
|
||||
|
||||
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user