aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHécate Moonlight <Kleidukos@users.noreply.github.com>2021-05-28 12:27:35 +0200
committerGitHub <noreply@github.com>2021-05-28 12:27:35 +0200
commitda79aea71b9cc7ee6e56792b4716be0ff11a09fb (patch)
tree70a7f707b739cf78ec7fe1441a4babdeb8d41879 /.github
parentc72814072d8f61ba7c8af201c779edb022c5a1a3 (diff)
Use GHC 9.2 in CI runner (#1378)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b2b882e3..4baa2fc5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,7 +4,7 @@ name: CI
on:
pull_request:
push:
- branches: ["ghc-9.0"]
+ branches: ["ghc-9.2"]
jobs:
cabal:
@@ -15,11 +15,11 @@ jobs:
os: [ubuntu-latest]
cabal: ["3.4"]
ghc:
- - "9.0.1"
+ - "9.2.0.20210422"
steps:
- uses: actions/checkout@v2
- if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/ghc-9.0'
+ if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/ghc-9.2'
- uses: haskell/actions/setup@v1
id: setup-haskell-cabal
@@ -37,12 +37,11 @@ jobs:
cabal freeze
- uses: actions/cache@v2
- name: Cache ~/.cabal/store and .ghcup
+ name: Cache ~/.cabal/store
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
- .ghcup
- key: ${{ runner.os }}
+ key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
- name: Build
run: |