git.iko.soy/typeable/postgresql-simple
on 6836ea6 help sign in
3 files changed+23−32
since splitsnapshots
unifiedsplit
.github/workflows/haskell-ci.yml+15−22 .github/workflows/simple.yml+2−2 postgresql-simple.cabal+6−8
.github/workflows/haskell-ci.yml+15−22
@@ -8,9 +8,9 @@
88#
99# For more information, see https://github.com/haskell-CI/haskell-ci
1010#
11−# version: 0.17.20231110
11+# version: 0.16.6
1212#
13−# REGENDATA ("0.17.20231110",["github","cabal.project"])
13+# REGENDATA ("0.16.6",["github","cabal.project"])
1414#
1515name: Haskell-CI
1616on:
@@ -38,19 +38,14 @@ jobs:
3838 strategy:
3939 matrix:
4040 include:
41− - compiler: ghc-9.8.1
41+ - compiler: ghc-9.6.2
4242 compilerKind: ghc
43− compilerVersion: 9.8.1
43+ compilerVersion: 9.6.2
4444 setup-method: ghcup
4545 allow-failure: false
46− - compiler: ghc-9.6.3
46+ - compiler: ghc-9.4.5
4747 compilerKind: ghc
48− compilerVersion: 9.6.3
49− setup-method: ghcup
50− allow-failure: false
51− - compiler: ghc-9.4.8
52− compilerKind: ghc
53− compilerVersion: 9.4.8
48+ compilerVersion: 9.4.5
5449 setup-method: ghcup
5550 allow-failure: false
5651 - compiler: ghc-9.2.8
@@ -86,18 +81,18 @@ jobs:
8681 apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
8782 if [ "${{ matrix.setup-method }}" = ghcup ]; then
8883 mkdir -p "$HOME/.ghcup/bin"
89− curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
84+ curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
9085 chmod a+x "$HOME/.ghcup/bin/ghcup"
9186 "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
92− "$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
87+ "$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
9388 else
9489 apt-add-repository -y 'ppa:hvr/ghc'
9590 apt-get update
9691 apt-get install -y "$HCNAME"
9792 mkdir -p "$HOME/.ghcup/bin"
98− curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
93+ curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
9994 chmod a+x "$HOME/.ghcup/bin/ghcup"
100− "$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
95+ "$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
10196 fi
10297 env:
10398 HCKIND: ${{ matrix.compilerKind }}
@@ -111,19 +106,17 @@ jobs:
111106 echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
112107 HCDIR=/opt/$HCKIND/$HCVER
113108 if [ "${{ matrix.setup-method }}" = ghcup ]; then
114− HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER")
115− HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#')
116− HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#')
109+ HC=$HOME/.ghcup/bin/$HCKIND-$HCVER
117110 echo "HC=$HC" >> "$GITHUB_ENV"
118− echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
119− echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
120− echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
111+ echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER" >> "$GITHUB_ENV"
112+ echo "HADDOCK=$HOME/.ghcup/bin/haddock-$HCVER" >> "$GITHUB_ENV"
113+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
121114 else
122115 HC=$HCDIR/bin/$HCKIND
123116 echo "HC=$HC" >> "$GITHUB_ENV"
124117 echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV"
125118 echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV"
126− echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
119+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
127120 fi
128121
129122 HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
.github/workflows/simple.yml+2−2
@@ -14,7 +14,7 @@ jobs:
1414 strategy:
1515 matrix:
1616 os: [macos-latest, windows-latest]
17− ghc: ['8.10','9.0','9.2','9.4.8','9.6.3','9.8.1']
17+ ghc: ['8.10','9.0','9.2','9.4.5','9.6.2']
1818 fail-fast: false
1919 timeout-minutes:
2020 60
@@ -29,7 +29,7 @@ jobs:
2929 uses: haskell/actions/setup@v2
3030 with:
3131 ghc-version: ${{ matrix.ghc }}
32− cabal-version: '3.10.2.0'
32+ cabal-version: '3.10.1.0'
3333
3434 - name: Set up PostgreSQL
3535 uses: ikalnytskyi/action-setup-postgres@v3
postgresql-simple.cabal+6−8
@@ -1,7 +1,6 @@
11cabal-version: 1.12
22name: postgresql-simple
33version: 0.7.0.0
4−x-revision: 1
54synopsis: Mid-Level PostgreSQL client library
65description:
76 Mid-Level PostgreSQL client library, forked from mysql-simple.
@@ -29,9 +28,8 @@ tested-with:
2928 || ==8.10.7
3029 || ==9.0.2
3130 || ==9.2.8
32− || ==9.4.8
33− || ==9.6.3
34− || ==9.8.1
31+ || ==9.4.5
32+ || ==9.6.2
3533
3634library
3735 default-language: Haskell2010
@@ -77,11 +75,11 @@ library
7775
7876 -- GHC bundled libs
7977 build-depends:
80− base >=4.12.0.0 && <4.20
81− , bytestring >=0.10.8.2 && <0.13
78+ base >=4.12.0.0 && <4.19
79+ , bytestring >=0.10.8.2 && <0.12
8280 , containers >=0.6.0.1 && <0.7
83− , template-haskell >=2.14.0.0 && <2.22
84− , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2
81+ , template-haskell >=2.14.0.0 && <2.21
82+ , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1
8583 , time-compat >=1.9.5 && <1.12
8684 , transformers >=0.5.6.2 && <0.7
8785