mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-06-27 09:15:41 +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
|
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
|
||||||
|
|||||||
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user