From a428a50f1e697a28b5b9efc180ddf2f17295c524 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 3 Oct 2024 23:48:15 -0400 Subject: [PATCH] CI 9.10 --- .github/workflows/haskell.yml | 13 +++++++++---- dependent-sum-aeson-orphans.cabal | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 004f3d0..9677c08 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -1,23 +1,26 @@ name: github-action -on: [push, pull_request] +on: [push, pull_request] jobs: build: strategy: matrix: - ghc: ['8.6.5', '8.8.4', '8.10.7'] + ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1'] os: ['ubuntu-latest', 'macos-latest'] runs-on: ${{ matrix.os }} name: GHC ${{ matrix.ghc }} on ${{ matrix.os }} steps: + - uses: actions/checkout@v3 + - uses: haskell/actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} + - name: Cache - uses: actions/cache@v1 + uses: actions/cache@v3 env: cache-name: cache-cabal with: @@ -33,7 +36,9 @@ jobs: run: | cabal update 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 diff --git a/dependent-sum-aeson-orphans.cabal b/dependent-sum-aeson-orphans.cabal index f4928e3..24d1b50 100644 --- a/dependent-sum-aeson-orphans.cabal +++ b/dependent-sum-aeson-orphans.cabal @@ -17,7 +17,7 @@ library exposed-modules: Data.Dependent.Sum.Orphans build-depends: aeson >=1.2 && <2.3 - , base >=4.9 && <4.20 + , base >=4.9 && <4.21 , constraints >=0.10.1 && <0.15 , constraints-extras >=0.3.0 && <0.5 , dependent-map >=0.3 && <0.5