66#
77# haskell-ci regenerate
88#
9- # For more information, see https://github.com/haskell-CI /haskell-ci
9+ # For more information, see https://github.com/andreasabel /haskell-ci
1010#
11- # version: 0.15.20230321
11+ # version: 0.17.20231012
1212#
13- # REGENDATA ("0.15.20230321 ",["github","hackage-server.cabal"])
13+ # REGENDATA ("0.17.20231012 ",["github","hackage-server.cabal"])
1414#
1515name : Haskell-CI
1616on :
1717 push :
1818 branches :
1919 - master
20- - ci*
2120 pull_request :
2221 branches :
2322 - master
24- - ci*
2523jobs :
2624 linux :
2725 name : Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -34,19 +32,24 @@ jobs:
3432 strategy :
3533 matrix :
3634 include :
37- - compiler : ghc-9.6 .1
35+ - compiler : ghc-9.8 .1
3836 compilerKind : ghc
39- compilerVersion : 9.6 .1
37+ compilerVersion : 9.8 .1
4038 setup-method : ghcup
4139 allow-failure : false
42- - compiler : ghc-9.4.4
40+ - compiler : ghc-9.6.3
4341 compilerKind : ghc
44- compilerVersion : 9.4.4
42+ compilerVersion : 9.6.3
4543 setup-method : ghcup
4644 allow-failure : false
47- - compiler : ghc-9.2 .7
45+ - compiler : ghc-9.4 .7
4846 compilerKind : ghc
49- compilerVersion : 9.2.7
47+ compilerVersion : 9.4.7
48+ setup-method : ghcup
49+ allow-failure : false
50+ - compiler : ghc-9.2.8
51+ compilerKind : ghc
52+ compilerVersion : 9.2.8
5053 setup-method : ghcup
5154 allow-failure : false
5255 - compiler : ghc-9.0.2
7174 apt-get update
7275 apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
7376 mkdir -p "$HOME/.ghcup/bin"
74- curl -sL https://downloads.haskell.org/ghcup/0.1.19.2 /x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
77+ curl -sL https://downloads.haskell.org/ghcup/0.1.19.5 /x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
7578 chmod a+x "$HOME/.ghcup/bin/ghcup"
79+ "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
7680 "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
7781 "$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
7882 apt-get update
@@ -88,10 +92,12 @@ jobs:
8892 echo "CABAL_DIR=$HOME/.cabal" >> "$GITHUB_ENV"
8993 echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
9094 HCDIR=/opt/$HCKIND/$HCVER
91- HC=$HOME/.ghcup/bin/$HCKIND-$HCVER
95+ HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER")
96+ HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#')
97+ HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#')
9298 echo "HC=$HC" >> "$GITHUB_ENV"
93- echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER " >> "$GITHUB_ENV"
94- echo "HADDOCK=$HOME/.ghcup/bin/haddock-$HCVER " >> "$GITHUB_ENV"
99+ echo "HCPKG=$HCPKG " >> "$GITHUB_ENV"
100+ echo "HADDOCK=$HADDOCK " >> "$GITHUB_ENV"
95101 echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
96102 HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
97103 echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
@@ -142,14 +148,14 @@ jobs:
142148 - name : install cabal-plan
143149 run : |
144150 mkdir -p $HOME/.cabal/bin
145- curl -sL https://github.com/haskell-hvr/cabal-plan/releases/download/v0.6.2 .0/cabal-plan-0.6.2 .0-x86_64-linux.xz > cabal-plan.xz
146- echo 'de73600b1836d3f55e32d80385acc055fd97f60eaa0ab68a755302685f5d81bc cabal-plan.xz' | sha256sum -c -
151+ curl -sL https://github.com/haskell-hvr/cabal-plan/releases/download/v0.7.3 .0/cabal-plan-0.7.3 .0-x86_64-linux.xz > cabal-plan.xz
152+ echo 'f62ccb2971567a5f638f2005ad3173dba14693a45154c1508645c52289714cb2 cabal-plan.xz' | sha256sum -c -
147153 xz -d < cabal-plan.xz > $HOME/.cabal/bin/cabal-plan
148154 rm -f cabal-plan.xz
149155 chmod a+x $HOME/.cabal/bin/cabal-plan
150156 cabal-plan --version
151157 - name : checkout
152- uses : actions/checkout@v3
158+ uses : actions/checkout@v4
153159 with :
154160 path : source
155161 - name : initial cabal.project for sdist
0 commit comments