mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-14 20:05:48 +01:00
Try to cache stack and ghc install
This commit is contained in:
parent
33ca535e17
commit
e84c1a82be
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user