From 106d279c7859163a2b1efb3a049fb0f5847cfceb Mon Sep 17 00:00:00 2001 From: Joris Dral Date: Wed, 17 Jul 2024 17:29:39 +0200 Subject: [PATCH] Update GHC and Cabal versions in GHA workflow --- .github/workflows/documentation.yml | 4 ++-- .github/workflows/haskell.yml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7dcd910..4514b9d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -32,8 +32,8 @@ jobs: fail-fast: false env: - ghc: "9.2.8" - cabal: "3.10.2.0" + ghc: "9.6.6" + cabal: "3.12.1.0" os: ubuntu-latest" steps: diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 5c7e1b5..072ec97 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -22,8 +22,8 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["8.10.7", "9.2.8", "9.4.8", "9.6.4", "9.8.2", "9.10.1"] - cabal: ["3.10.3.0"] + ghc: ["8.10.7", "9.2.8", "9.4.8", "9.6.6", "9.8.2", "9.10.1"] + cabal: ["3.12.1.0"] os: [ubuntu-latest, windows-latest, macOS-13] timeout-minutes: 60 @@ -65,7 +65,7 @@ jobs: - name: Install cabal dependencies id: build-dependencies - run: cabal build --only-dependencies --enable-tests --enable-benchmarks all + run: cabal build --only-dependencies all - name: "Save cache" uses: actions/cache/save@v4 @@ -104,8 +104,8 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.4"] - cabal: ["3.10.3.0"] + ghc: ["9.6.6"] + cabal: ["3.12.1.0"] os: [ubuntu-latest] # Fix the index-state so we can get proper caching effects. Change this to a @@ -171,8 +171,8 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.4"] - cabal: ["3.10.3.0"] + ghc: ["9.6.6"] + cabal: ["3.12.1.0"] os: [ubuntu-latest] # See the comment on the hackage-index-state environment variable for the @@ -233,7 +233,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.4"] + ghc: ["9.6.6"] cabal: ["3.10.3.0"] os: [ubuntu-latest]