ci: build with cabal and GHC 9.12.3

This commit is contained in:
Wolfgang Walther
2026-04-19 17:50:23 +00:00
parent 43447ed711
commit 49a16fe505
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ jobs:
cabal: cabal:
strategy: strategy:
matrix: 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 fail-fast: false
name: Cabal - Linux x86-64 - GHC ${{ matrix.ghc }} name: Cabal - Linux x86-64 - GHC ${{ matrix.ghc }}
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
+2
View File
@@ -1,2 +1,4 @@
packages: postgrest.cabal packages: postgrest.cabal
tests: true tests: true
allow-newer:
hasql:postgresql-libpq
+8 -6
View File
@@ -25,6 +25,8 @@ tested-with:
-- cabal on Ubuntu -- cabal on Ubuntu
-- stack on FreeBSD, MacOS, Ubuntu, Windows -- stack on FreeBSD, MacOS, Ubuntu, Windows
, GHC == 9.10.3 , GHC == 9.10.3
-- cabal on Ubuntu
, GHC == 9.12.3
source-repository head source-repository head
type: git type: git
@@ -101,7 +103,7 @@ library
PostgREST.Response.Performance PostgREST.Response.Performance
PostgREST.TimeIt PostgREST.TimeIt
PostgREST.Version PostgREST.Version
build-depends: base >= 4.9 && < 4.21 build-depends: base >= 4.9 && < 4.22
, HTTP >= 4000.3.7 && < 4000.5 , HTTP >= 4000.3.7 && < 4000.5
, Ranged-sets >= 0.3 && < 0.6 , Ranged-sets >= 0.3 && < 0.6
, aeson >= 2.0.3 && < 2.3 , aeson >= 2.0.3 && < 2.3
@@ -146,7 +148,7 @@ library
, streaming-commons >= 0.2.3.1 && < 0.3 , streaming-commons >= 0.2.3.1 && < 0.3
, swagger2 >= 2.4 && < 2.9 , swagger2 >= 2.4 && < 2.9
, text >= 1.2.2 && < 2.2 , text >= 1.2.2 && < 2.2
, time >= 1.6 && < 1.13 , time >= 1.6 && < 1.15
, unordered-containers >= 0.2.8 && < 0.3 , unordered-containers >= 0.2.8 && < 0.3
, unix-compat >= 0.5.4 && < 0.8 , unix-compat >= 0.5.4 && < 0.8
, vault >= 0.3.1.5 && < 0.4 , vault >= 0.3.1.5 && < 0.4
@@ -189,7 +191,7 @@ executable postgrest
NoImplicitPrelude NoImplicitPrelude
hs-source-dirs: main hs-source-dirs: main
main-is: Main.hs main-is: Main.hs
build-depends: base >= 4.9 && < 4.21 build-depends: base >= 4.9 && < 4.22
, containers >= 0.5.7 && < 0.8 , containers >= 0.5.7 && < 0.8
, postgrest , postgrest
, protolude >= 0.3.1 && < 0.4 , protolude >= 0.3.1 && < 0.4
@@ -265,7 +267,7 @@ test-suite spec
Feature.RollbackSpec Feature.RollbackSpec
Feature.RpcPreRequestGucsSpec Feature.RpcPreRequestGucsSpec
SpecHelper SpecHelper
build-depends: base >= 4.9 && < 4.21 build-depends: base >= 4.9 && < 4.22
, aeson >= 2.0.3 && < 2.3 , aeson >= 2.0.3 && < 2.3
, aeson-qq >= 0.8.1 && < 0.9 , aeson-qq >= 0.8.1 && < 0.9
, async >= 2.1.1 && < 2.3 , async >= 2.1.1 && < 2.3
@@ -314,7 +316,7 @@ test-suite observability
Observation.JwtCache Observation.JwtCache
Observation.MetricsSpec Observation.MetricsSpec
Observation.SchemaCacheSpec Observation.SchemaCacheSpec
build-depends: base >= 4.9 && < 4.21 build-depends: base >= 4.9 && < 4.22
, base64-bytestring >= 1 && < 1.3 , base64-bytestring >= 1 && < 1.3
, bytestring >= 0.10.8 && < 0.13 , bytestring >= 0.10.8 && < 0.13
, hasql-pool >= 1.0.1 && < 1.1 , hasql-pool >= 1.0.1 && < 1.1
@@ -343,7 +345,7 @@ test-suite doctests
NoImplicitPrelude NoImplicitPrelude
hs-source-dirs: test/doc hs-source-dirs: test/doc
main-is: Main.hs main-is: Main.hs
build-depends: base >= 4.9 && < 4.21 build-depends: base >= 4.9 && < 4.22
, doctest >= 0.8 , doctest >= 0.8
, postgrest , postgrest
, pretty-simple , pretty-simple