From 29edbcb32fcc924a71bed445c2ec7036147e5e07 Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Fri, 3 May 2024 19:50:42 +0200 Subject: [PATCH] CI: macos-14 (arm, now macos-latest) does not support GHC<=9.0 - use macos-13 for GHC 8.0 and 8.2 - test the more recent GHCs, drop 8.4 instead --- .github/workflows/other.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/other.yml b/.github/workflows/other.yml index b6a8526..50444e5 100644 --- a/.github/workflows/other.yml +++ b/.github/workflows/other.yml @@ -14,7 +14,17 @@ jobs: fail-fast: true matrix: os: [windows-latest, macOS-latest] - ghc: ['8.0', '8.2', '8.4', '9.2', 'latest'] + ghc: ['9.2', '9.4', '9.6', 'latest'] + ## macos-14 (arm, as of 2024-05-03 macos-latest) fails with ghc <= 9.0 + include: + - os: windows-latest + ghc: '8.0' + - os: macos-13 + ghc: '8.0' + - os: windows-latest + ghc: '8.2' + - os: macos-13 + ghc: '8.2' steps: - uses: actions/checkout@v4 - uses: haskell-actions/setup@v2 @@ -41,7 +51,7 @@ jobs: run: | cabal test all - name: Haddock - if: matrix.ghc != '7.10' && matrix.ghc != '8.0' + if: matrix.ghc != '8.0' run: | cabal haddock all