From 05c4894b2f6cf9149e37d00151c0ba59fe6286d7 Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Mon, 30 Aug 2021 02:13:01 +0300 Subject: [PATCH] CI: add GHC 9, bump GHC 8.10 and Stack (#868) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * CI: add GHC 9, bump GHC 8.10 and Stack Normally we exclude older compilers on macOS and Windows, but since GHC 9 is fairly new still, I chose to keep GHC 8.10 in the matrix for a while longer. * Use GHC 8.10.6 on Windows since Chocolately lacks 8.10.7 --- .github/workflows/main.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86e5b921..332166d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,8 @@ jobs: ghc: - "8.6.5" - "8.8.4" - - "8.10.4" + - "8.10.7" + - "9.0.1" exclude: - os: macOS-latest ghc: 8.8.4 @@ -27,6 +28,12 @@ jobs: ghc: 8.8.4 - os: windows-latest ghc: 8.6.5 + # Chocolatey only has 8.10.6 at the moment + - os: windows-latest + ghc: 8.10.7 + include: + - os: windows-latest + ghc: 8.10.6 steps: - uses: actions/checkout@v2 @@ -63,8 +70,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - stack: ["2.7.1"] - ghc: ["8.8.4"] + stack: ["2.7.3"] + ghc: ["8.10.7"] steps: - uses: actions/checkout@v2