Skip to content

Commit

Permalink
CI macos-14: haskell-actions/setup needed as GHC isn't preinstalled
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed May 3, 2024
1 parent f7ae204 commit 6892f12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/andreasabel/haskell-ci
#
# version: 0.19.20240416
# version: 0.19.20240429
#
# REGENDATA ("0.19.20240416",["github","filelock.cabal"])
# REGENDATA ("0.19.20240429",["github","filelock.cabal"])
#
name: Haskell-CI
on:
Expand All @@ -27,24 +27,24 @@ jobs:
timeout-minutes:
60
container:
image: buildpack-deps:focal
image: buildpack-deps:jammy
continue-on-error: ${{ matrix.allow-failure }}
strategy:
matrix:
include:
- compiler: ghc-9.10.0.20240413
- compiler: ghc-9.10.0.20240426
compilerKind: ghc
compilerVersion: 9.10.0.20240413
compilerVersion: 9.10.0.20240426
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.8.2
compilerKind: ghc
compilerVersion: 9.8.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.6.4
- compiler: ghc-9.6.5
compilerKind: ghc
compilerVersion: 9.6.4
compilerVersion: 9.6.5
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.4.8
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/mac-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ on:
push:
branches:
- master
- ci-*
pull_request:
branches:
- master
- ci-*

jobs:
mac-win:
Expand All @@ -23,13 +21,7 @@ jobs:

- uses: actions/checkout@v3

- name: Info about Haskell versions
run: |
ghc --version
cabal --version
- name: Update cabal package repository
run: cabal update
- uses: haskell-actions/setup@latest

- name: Build
run: cabal build
Expand Down
2 changes: 1 addition & 1 deletion filelock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extra-source-files:
tested-with:
GHC == 9.10.0
GHC == 9.8.2
GHC == 9.6.4
GHC == 9.6.5
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
Expand Down

0 comments on commit 6892f12

Please sign in to comment.