mirror of
https://github.com/gren-lang/compiler.git
synced 2024-10-26 18:00:47 +03:00
Move installation of GHC _after_ cache has been loaded.
This commit is contained in:
parent
90837276bd
commit
09c9889362
10
.github/workflows/releases.yml
vendored
10
.github/workflows/releases.yml
vendored
@ -12,11 +12,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: haskell/actions/setup@v1
|
||||
with:
|
||||
ghc-version: '9.2.2'
|
||||
cabal-version: '3.6'
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
@ -25,6 +20,11 @@ jobs:
|
||||
~/.ghcup
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal') }}
|
||||
|
||||
- uses: haskell/actions/setup@v1
|
||||
with:
|
||||
ghc-version: '9.2.2'
|
||||
cabal-version: '3.6'
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cabal build
|
||||
|
10
.github/workflows/verify.yml
vendored
10
.github/workflows/verify.yml
vendored
@ -13,11 +13,6 @@ jobs:
|
||||
|
||||
- uses: mrkkrp/ormolu-action@v5
|
||||
|
||||
- uses: haskell/actions/setup@v1
|
||||
with:
|
||||
ghc-version: '9.2.2'
|
||||
cabal-version: '3.6'
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
@ -26,6 +21,11 @@ jobs:
|
||||
~/.ghcup
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal') }}
|
||||
|
||||
- uses: haskell/actions/setup@v1
|
||||
with:
|
||||
ghc-version: '9.2.2'
|
||||
cabal-version: '3.6'
|
||||
|
||||
- name: Build
|
||||
run: cabal build -f dev
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user