From d3fa5455ba110960a6eaee6a56469e66b4c57425 Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Thu, 14 Dec 2023 10:55:05 -0500 Subject: [PATCH] test ghc 9.4 --- .github/workflows/ci.yaml | 10 +++++----- postgrest.cabal | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7538259d5b..5ed1617e07 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ on: - rel-* concurrency: group: ${{ github.workflow }}-${{ github.ref }} - + # Terminate all previous runs of the same workflow and branch/tag, except for main and release branches/tags cancel-in-progress: "${{ !(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/rel-')) }}" @@ -32,7 +32,7 @@ jobs: # shellcheck disable=SC2046 nix-store -v --realize $( nix-instantiate default.nix ) shell: bash - + Lint-Style: name: Lint & check code style runs-on: ubuntu-latest @@ -102,9 +102,9 @@ jobs: uses: ./.github/actions/setup-nix with: tools: tests withTools - # It seems like they are installing the same set of derivations, so we can assign them the same cache id. + # It seems like they are installing the same set of derivations, so we can assign them the same cache id. # This would decrease the amount of caches dowloaded on merge cache step and will prevent disk space issues. - cache-id: common + cache-id: common - name: Run spec tests if: always() @@ -247,7 +247,7 @@ jobs: Build-Cabal: strategy: matrix: - ghc: ['9.0.2', '9.2.4'] + ghc: ['9.0.2', '9.2.4', '9.4.4'] fail-fast: false name: Build Linux (Cabal, GHC ${{ matrix.ghc }}) runs-on: ubuntu-latest diff --git a/postgrest.cabal b/postgrest.cabal index d879b1b639..5b8bdb6cd0 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -75,7 +75,7 @@ library PostgREST.Response.Performance PostgREST.Version other-modules: Paths_postgrest - build-depends: base >= 4.9 && < 4.17 + build-depends: base >= 4.9 && < 5.0 , HTTP >= 4000.3.7 && < 4000.5 , Ranged-sets >= 0.3 && < 0.5 , aeson >= 2.0.3 && < 2.2 @@ -159,7 +159,7 @@ executable postgrest NoImplicitPrelude hs-source-dirs: main main-is: Main.hs - build-depends: base >= 4.9 && < 4.17 + build-depends: base >= 4.9 && < 5.0 , containers >= 0.5.7 && < 0.7 , postgrest , protolude >= 0.3.1 && < 0.4 @@ -233,7 +233,7 @@ test-suite spec Feature.RollbackSpec Feature.RpcPreRequestGucsSpec SpecHelper - build-depends: base >= 4.9 && < 4.17 + build-depends: base >= 4.9 && < 5.0 , aeson >= 2.0.3 && < 2.2 , aeson-qq >= 0.8.1 && < 0.9 , async >= 2.1.1 && < 2.3 @@ -275,7 +275,7 @@ test-suite doctests NoImplicitPrelude hs-source-dirs: test/doc main-is: Main.hs - build-depends: base >= 4.9 && < 4.17 + build-depends: base >= 4.9 && < 5.0 , doctest >= 0.8 , postgrest , pretty-simple