Skip to content

Commit

Permalink
Bump windows/macOS simple CI to GHC 9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Apr 6, 2023
1 parent 07e97d5 commit f4da99a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f4da99a

Please sign in to comment.