Skip to content

Commit 64d9ca1

Browse files
authored
Merge pull request #30 from haskellari/hashable-1.5
Allow hashable-1.5 and tasty-quickcheck-0.11
2 parents e794c8a + 503e86c commit 64d9ca1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/haskell-ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.19.20240514
11+
# version: 0.19.20240708
1212
#
13-
# REGENDATA ("0.19.20240514",["github","cabal.project"])
13+
# REGENDATA ("0.19.20240708",["github","cabal.project"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -84,10 +84,10 @@ jobs:
8484
apt-get update
8585
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
8686
mkdir -p "$HOME/.ghcup/bin"
87-
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
87+
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
8888
chmod a+x "$HOME/.ghcup/bin/ghcup"
8989
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
90-
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
90+
"$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
9191
env:
9292
HCKIND: ${{ matrix.compilerKind }}
9393
HCNAME: ${{ matrix.compiler }}
@@ -105,7 +105,7 @@ jobs:
105105
echo "HC=$HC" >> "$GITHUB_ENV"
106106
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
107107
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
108-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
108+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
109109
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
110110
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
111111
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"

binary-instances.cabal

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
cabal-version: 2.2
22
name: binary-instances
33
version: 1.0.5
4+
x-revision: 1
45
synopsis: Orphan instances for binary
56
description:
67
`binary-instances` defines orphan instances for types in some popular packages.
@@ -45,7 +46,7 @@ library
4546
build-depends:
4647
, aeson ^>=2.2.2.0
4748
, binary-orphans ^>=1.0.5
48-
, hashable ^>=1.4.4.0
49+
, hashable ^>=1.4.4.0 || ^>=1.5.0.0
4950
, primitive ^>=0.9.0.0
5051
, scientific ^>=0.3.8.0
5152
, time-compat ^>=1.9.7
@@ -86,7 +87,7 @@ test-suite binary-instances-test
8687
, scientific
8788
, tagged
8889
, tasty ^>=1.5
89-
, tasty-quickcheck ^>=0.10.3
90+
, tasty-quickcheck ^>=0.10.3 || ^>=0.11
9091
, text
9192
, time-compat
9293
, unordered-containers

0 commit comments

Comments
 (0)