Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify CI config by including latest rather than excluding non-latest #138

Merged
merged 2 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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