From f4da99a1b8759b14e5191056103d830bb8f804b3 Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Thu, 6 Apr 2023 22:16:17 +0200 Subject: [PATCH] Bump windows/macOS simple CI to GHC 9.6 --- .github/workflows/simple.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/simple.yml b/.github/workflows/simple.yml index 8de17f8..5845769 100644 --- a/.github/workflows/simple.yml +++ b/.github/workflows/simple.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - ghc: ['8.10','9.0','9.2','9.4.1'] + ghc: ['8.10','9.0','9.2','9.4','9.6'] fail-fast: false timeout-minutes: 60 @@ -25,21 +25,25 @@ jobs: git config --global core.eol lf - name: Checkout - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3 - name: Set up Haskell id: setup-haskell - uses: haskell/actions/setup@v1 + uses: haskell/actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} - cabal-version: '3.8.1.0' + cabal-version: latest + + - name: Get precise GHC version + shell: bash + run: echo "GHC_VERSION=$(ghc --numeric-version)" >> "${GITHUB_ENV}" - name: Cache - uses: actions/cache@v2.1.3 + uses: actions/cache@v3 with: path: ${{ steps.setup-haskell.outputs.cabal-store }} - key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }} - restore-keys: ${{ runner.os }}-${{ matrix.ghc }}- + key: ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ github.sha }} + restore-keys: ${{ runner.os }}-${{ env.GHC_VERSION }}- - name: Build run: cabal build all --enable-tests