Skip to content

Commit

Permalink
v0.10.4.2-r8: Bump template-haskell, containers; bump CI to GHC 9.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Oct 11, 2023
1 parent 1386843 commit 05229e4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 31 deletions.
37 changes: 11 additions & 26 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#
# haskell-ci regenerate
#
# For more information, see https://github.com/haskell-CI/haskell-ci
# For more information, see https://github.com/andreasabel/haskell-ci
#
# version: 0.17.20230827
# version: 0.17.20231010
#
# REGENDATA ("0.17.20230827",["github","safecopy.cabal"])
# REGENDATA ("0.17.20231010",["github","safecopy.cabal"])
#
name: Haskell-CI
on:
Expand All @@ -27,19 +27,19 @@ jobs:
timeout-minutes:
60
container:
image: buildpack-deps:bionic
image: buildpack-deps:focal
continue-on-error: ${{ matrix.allow-failure }}
strategy:
matrix:
include:
- compiler: ghc-9.8.0.20230822
- compiler: ghc-9.8.1
compilerKind: ghc
compilerVersion: 9.8.0.20230822
compilerVersion: 9.8.1
setup-method: ghcup
allow-failure: true
- compiler: ghc-9.6.2
allow-failure: false
- compiler: ghc-9.6.3
compilerKind: ghc
compilerVersion: 9.6.2
compilerVersion: 9.6.3
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.4.7
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
if [ $((HCNUMVER >= 90800)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE=false" >> "$GITHUB_ENV" ; fi
echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
echo "GHCJSARITH=0" >> "$GITHUB_ENV"
env:
Expand Down Expand Up @@ -170,18 +170,6 @@ jobs:
repository hackage.haskell.org
url: http://hackage.haskell.org/
EOF
if $HEADHACKAGE; then
cat >> $CABAL_CONFIG <<EOF
repository head.hackage.ghc.haskell.org
url: https://ghc.gitlab.haskell.org/head.hackage/
secure: True
root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
key-threshold: 3
active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
EOF
fi
cat >> $CABAL_CONFIG <<EOF
program-default-options
ghc-options: $GHCJOBS +RTS -M3G -RTS
Expand All @@ -205,7 +193,7 @@ jobs:
chmod a+x $HOME/.cabal/bin/cabal-plan
cabal-plan --version
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: source
- name: initial cabal.project for sdist
Expand Down Expand Up @@ -235,9 +223,6 @@ jobs:
allow-newer: bytestring
allow-newer: text
EOF
if $HEADHACKAGE; then
echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
fi
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(safecopy)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
Expand Down
10 changes: 5 additions & 5 deletions safecopy.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: safecopy
Version: 0.10.4.2
x-revision: 7
x-revision: 8
Synopsis: Binary serialization with version control.
Description: An extension to Data.Serialize with built-in version control.
Homepage: https://github.com/acid-state/safecopy
Expand All @@ -14,8 +14,8 @@ Extra-source-files: CHANGELOG.md
Cabal-version: >=1.10

tested-with:
GHC == 9.8.0
GHC == 9.6.2
GHC == 9.8.1
GHC == 9.6.3
GHC == 9.4.7
GHC == 9.2.8
GHC == 9.0.2
Expand Down Expand Up @@ -45,9 +45,9 @@ Library
cereal >= 0.5 && < 0.6,
bytestring < 0.13,
generic-data >= 0.3,
containers >= 0.3 && < 0.7,
containers >= 0.3 && < 0.8,
old-time < 1.2,
template-haskell < 2.21,
template-haskell < 2.22,
text < 1.3 || >= 2.0 && < 2.2,
time < 1.13,
transformers < 0.7,
Expand Down

0 comments on commit 05229e4

Please sign in to comment.