Skip to content

Commit

Permalink
Loosen aeson version bound
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-abrar committed Jul 3, 2023
1 parent 71a315a commit 517f51f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
name: github-action

on: [push, pull_request]
on: [push, pull_request]

jobs:
build:
strategy:
matrix:
ghc: ['8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.4', '8.10.2', '9.0.1']
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.5', '9.4.5', '9.6.1']
os: ['ubuntu-latest', 'macos-latest']
exclude:
# There are some linker warnings in 802 on darwin that
# cause compilation to fail
# See https://github.com/NixOS/nixpkgs/issues/25139
- ghc: '8.0.2'
os: 'macos-latest'
runs-on: ${{ matrix.os }}

name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.10.1.0'
- name: Cache
uses: actions/cache@v1
uses: actions/cache@v3
env:
cache-name: cache-cabal
with:
Expand All @@ -36,10 +31,12 @@ jobs:
${{ runner.os }}
- name: Install dependencies
run: |
cabal update
cabal build --only-dependencies --enable-tests --enable-benchmarks
run: cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
run: cabal test --enable-tests all
- if: matrix.ghc != '8.4.4'
# docs aren't built on ghc 8.4.4 because some dependency docs don't build on older GHCs
name: Build Docs
run: cabal haddock
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for aeson-gadt-th

## 0.2.5.2 - 2022-07-03

* Loosen version bounds

## 0.2.5.1 - 2022-01-04

* Remove dependency on `th-extras`. We were just using a reexport (under a
Expand Down
2 changes: 1 addition & 1 deletion aeson-gadt-th.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ flag build-readme
library
exposed-modules: Data.Aeson.GADT.TH
build-depends: base >= 4.8 && < 4.16
, aeson >= 1.3 && < 1.6
, aeson >= 1.3 && < 2.3
, containers >= 0.5 && < 0.7
, dependent-sum >= 0.4 && < 0.8
, transformers >= 0.5 && < 0.6
Expand Down

0 comments on commit 517f51f

Please sign in to comment.