From eafc0fbcd498faa74b4176dce6ea9820a0a17108 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Mon, 2 Dec 2024 01:01:52 +0000 Subject: [PATCH] Somewhat modernize CI version range --- .github/workflows/haskell.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 80c8541e..a6d4c13f 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -1,29 +1,23 @@ name: github-action -on: [push, pull_request] +on: [push, pull_request] jobs: build: strategy: matrix: - ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.2'] - os: ['ubuntu-latest', 'macos-latest'] - exclude: - # There are some linker warnings in 802 on darwin that - # cause compilation to fail - # See https://github.com/NixOS/nixpkgs/issues/25139 - - ghc: '8.0.2' - os: 'macos-latest' + ghc: ['8.6', '8.8', '8.10', '9.0', '9.2'] + os: ['ubuntu-latest'] runs-on: ${{ matrix.os }} name: GHC ${{ matrix.ghc }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-haskell@v1 + - uses: actions/checkout@v4 + - uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} - name: Cache - uses: actions/cache@v1 + uses: actions/cache@v3 env: cache-name: cache-cabal with: