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

Add support for GHC 9.12, drop support for GHC 9.6 #53

Merged
merged 1 commit into from
Feb 1, 2025
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
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: mkdir artifact
- id: haskell
uses: haskell-actions/setup@v2
- uses: haskell/ghcup-setup@v1
with:
ghc-version: ${{ matrix.ghc }}
ghc: ${{ matrix.ghc }}
cabal: latest
- run: ghc-pkg list
- run: cabal sdist --output-dir artifact
- run: cabal configure --flags=pedantic --jobs
- run: cat cabal.project.local
- run: cp cabal.project.local artifact
- run: cabal update
- run: cabal freeze
- run: cat cabal.project.freeze
- run: cp cabal.project.freeze artifact
- run: cabal outdated --v2-freeze-file
- uses: actions/cache@v4
with:
key: ${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
path: ${{ steps.haskell.outputs.cabal-store }}
path: ~/.local/state/cabal
restore-keys: ${{ matrix.os }}-${{ matrix.ghc }}-
- run: cabal build --only-download
- run: cabal build --only-dependencies
Expand All @@ -34,17 +35,17 @@ jobs:
strategy:
matrix:
include:
- ghc: '9.10'
- ghc: 9.12
os: macos-13
- ghc: '9.10'
- ghc: 9.12
os: macos-14
- ghc: 9.6
os: ubuntu-22.04
- ghc: 9.8
os: ubuntu-22.04
- ghc: '9.10'
os: ubuntu-22.04
os: ubuntu-24.04
- ghc: '9.10'
os: ubuntu-24.04
- ghc: 9.12
os: ubuntu-24.04
- ghc: 9.12
os: windows-2022
cabal:
name: Cabal
Expand Down Expand Up @@ -84,7 +85,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: wuss-${{ github.sha }}-ubuntu-22.04-9.10
name: wuss-${{ github.sha }}-ubuntu-24.04-9.12
- run: tar --extract --file artifact.tar --verbose
- uses: softprops/action-gh-release@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion wuss.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ flag pedantic
manual: True

common library
build-depends: base ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0.0
build-depends: base ^>=4.19.0.0 || ^>=4.20.0.0 || ^>=4.21.0.0
build-depends:
bytestring ^>=0.11.4.0 || ^>=0.12.0.2,
crypton-connection ^>=0.3.2 || ^>=0.4.0,
Expand Down