diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 133a6ef..d82b961 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -8,9 +8,9 @@ # # For more information, see https://github.com/haskell-CI/haskell-ci # -# version: 0.13.20211111 +# version: 0.15.20220826 # -# REGENDATA ("0.13.20211111",["github","postgresql-libpq.cabal"]) +# REGENDATA ("0.15.20220826",["github","postgresql-libpq.cabal"]) # name: Haskell-CI on: @@ -23,7 +23,7 @@ on: jobs: linux: name: Haskell-CI - Linux - ${{ matrix.compiler }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 timeout-minutes: 60 container: @@ -38,9 +38,14 @@ jobs: strategy: matrix: include: - - compiler: ghc-9.2.1 + - compiler: ghc-9.4.2 compilerKind: ghc - compilerVersion: 9.2.1 + compilerVersion: 9.4.2 + setup-method: ghcup + allow-failure: false + - compiler: ghc-9.2.4 + compilerKind: ghc + compilerVersion: 9.2.4 setup-method: ghcup allow-failure: false - compiler: ghc-9.0.1 @@ -116,18 +121,18 @@ jobs: apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 if [ "${{ matrix.setup-method }}" = ghcup ]; then mkdir -p "$HOME/.ghcup/bin" - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup" chmod a+x "$HOME/.ghcup/bin/ghcup" - "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" - "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) else apt-add-repository -y 'ppa:hvr/ghc' apt-get update apt-get install -y "$HCNAME" mkdir -p "$HOME/.ghcup/bin" - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup" chmod a+x "$HOME/.ghcup/bin/ghcup" - "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) fi env: HCKIND: ${{ matrix.compilerKind }} diff --git a/cabal.haskell-ci b/cabal.haskell-ci index 0c7a4c7..84498bc 100644 --- a/cabal.haskell-ci +++ b/cabal.haskell-ci @@ -3,3 +3,5 @@ postgresql: True -- due build-type: Custom test-output-direct: False + +haddock-components: libs diff --git a/postgresql-libpq.cabal b/postgresql-libpq.cabal index ef50a54..5234d65 100644 --- a/postgresql-libpq.cabal +++ b/postgresql-libpq.cabal @@ -38,14 +38,15 @@ tested-with: || ==8.8.4 || ==8.10.7 || ==9.0.1 - || ==9.2.1 + || ==9.2.4 + || ==9.4.2 extra-source-files: CHANGELOG.md custom-setup setup-depends: base >=4.3 && <5 - , Cabal >=1.10 && <3.7 + , Cabal >=1.10 && <3.9 -- If true, use pkg-config, otherwise use the pg_config based build -- configuration @@ -64,7 +65,7 @@ library other-modules: Database.PostgreSQL.LibPQ.Compat build-depends: - base >=4.3 && <4.17 + base >=4.3 && <4.18 , bytestring >=0.9.1.0 && <0.12 if !os(windows)