Skip to content

Commit

Permalink
Simplify CI config by including latest rather than excluding non-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcek committed Aug 28, 2023
1 parent a6eeca5 commit 03c6d74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
24 changes: 5 additions & 19 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.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
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

0 comments on commit 03c6d74

Please sign in to comment.