Skip to content

Commit

Permalink
Simplify CI config by including latest rather than excluding non-late…
Browse files Browse the repository at this point in the history
…st (#138)
  • Loading branch information
jhrcek authored Aug 28, 2023
1 parent a6eeca5 commit d104c24
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,21 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
os: [ubuntu-latest]
cabal: ["3.10.1.0"]
ghc:
- 8.10.7
- 9.0.2
- 9.2.8
- 9.4.5
- 9.4.6
- 9.6.2
exclude:
include:
# Test only with latest GHC on windows and macOS
- os: macOS-latest
ghc: 8.10.7
- os: macOS-latest
ghc: 9.0.2
- os: macOS-latest
ghc: 9.2.8
- os: macOS-latest
ghc: 9.4.5
- os: windows-latest
ghc: 8.10.7
ghc: 9.6.2
- os: windows-latest
ghc: 9.0.2
- os: windows-latest
ghc: 9.2.8
- os: windows-latest
ghc: 9.4.5
ghc: 9.6.2

steps:
- uses: actions/checkout@v3
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
Expand Down Expand Up @@ -78,7 +64,7 @@ jobs:
strategy:
matrix:
stack: [2.11.1]
ghc: [9.4.5]
ghc: [9.4.6]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion elm-street.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-source-files: test/golden/oneType.json
tested-with: GHC == 8.10.7
GHC == 9.0.2
GHC == 9.2.8
GHC == 9.4.5
GHC == 9.4.6
GHC == 9.6.2

source-repository head
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-21.0
resolver: lts-21.9

0 comments on commit d104c24

Please sign in to comment.