Skip to content

Commit

Permalink
Update CI simple.yml to GHC 9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Apr 19, 2024
1 parent 58be9b4 commit e5a58b1
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 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','9.6']
ghc: ['9.2','9.4','9.6','9.8']
fail-fast: false
timeout-minutes:
60
Expand All @@ -25,25 +25,21 @@ jobs:
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Haskell
id: setup-haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: latest

- name: Get precise GHC version
shell: bash
run: echo "GHC_VERSION=$(ghc --numeric-version)" >> "${GITHUB_ENV}"

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ env.GHC_VERSION }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ env.GHC_VERSION }}-
key: ${{ runner.os }}-${{ steps.setup-haskell.outputs.ghc-version }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ steps.setup-haskell.outputs.ghc-version }}-

- name: Build
run: cabal build all --enable-tests
Expand Down

0 comments on commit e5a58b1

Please sign in to comment.