diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f9e5b799e..0ab47a65d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -180,7 +180,7 @@ jobs: cabal: strategy: matrix: - ghc: ['9.6.7', '9.8.4', '9.10.3'] + ghc: ['9.6.7', '9.8.4', '9.10.3', '9.12.3'] fail-fast: false name: Cabal - Linux x86-64 - GHC ${{ matrix.ghc }} runs-on: ubuntu-24.04 diff --git a/cabal.project b/cabal.project index 313d3fc1f..49c8932d1 100644 --- a/cabal.project +++ b/cabal.project @@ -1,2 +1,4 @@ packages: postgrest.cabal tests: true +allow-newer: + hasql:postgresql-libpq diff --git a/postgrest.cabal b/postgrest.cabal index 53dc5127b..f9f656ff9 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -25,6 +25,8 @@ tested-with: -- cabal on Ubuntu -- stack on FreeBSD, MacOS, Ubuntu, Windows , GHC == 9.10.3 + -- cabal on Ubuntu + , GHC == 9.12.3 source-repository head type: git @@ -101,7 +103,7 @@ library PostgREST.Response.Performance PostgREST.TimeIt PostgREST.Version - build-depends: base >= 4.9 && < 4.21 + build-depends: base >= 4.9 && < 4.22 , HTTP >= 4000.3.7 && < 4000.5 , Ranged-sets >= 0.3 && < 0.6 , aeson >= 2.0.3 && < 2.3 @@ -146,7 +148,7 @@ library , streaming-commons >= 0.2.3.1 && < 0.3 , swagger2 >= 2.4 && < 2.9 , text >= 1.2.2 && < 2.2 - , time >= 1.6 && < 1.13 + , time >= 1.6 && < 1.15 , unordered-containers >= 0.2.8 && < 0.3 , unix-compat >= 0.5.4 && < 0.8 , vault >= 0.3.1.5 && < 0.4 @@ -189,7 +191,7 @@ executable postgrest NoImplicitPrelude hs-source-dirs: main main-is: Main.hs - build-depends: base >= 4.9 && < 4.21 + build-depends: base >= 4.9 && < 4.22 , containers >= 0.5.7 && < 0.8 , postgrest , protolude >= 0.3.1 && < 0.4 @@ -265,7 +267,7 @@ test-suite spec Feature.RollbackSpec Feature.RpcPreRequestGucsSpec SpecHelper - build-depends: base >= 4.9 && < 4.21 + build-depends: base >= 4.9 && < 4.22 , aeson >= 2.0.3 && < 2.3 , aeson-qq >= 0.8.1 && < 0.9 , async >= 2.1.1 && < 2.3 @@ -314,7 +316,7 @@ test-suite observability Observation.JwtCache Observation.MetricsSpec Observation.SchemaCacheSpec - build-depends: base >= 4.9 && < 4.21 + build-depends: base >= 4.9 && < 4.22 , base64-bytestring >= 1 && < 1.3 , bytestring >= 0.10.8 && < 0.13 , hasql-pool >= 1.0.1 && < 1.1 @@ -343,7 +345,7 @@ test-suite doctests NoImplicitPrelude hs-source-dirs: test/doc main-is: Main.hs - build-depends: base >= 4.9 && < 4.21 + build-depends: base >= 4.9 && < 4.22 , doctest >= 0.8 , postgrest , pretty-simple