6
6
#
7
7
# haskell-ci regenerate
8
8
#
9
- # For more information, see https://github.com/haskell-CI /haskell-ci
9
+ # For more information, see https://github.com/andreasabel /haskell-ci
10
10
#
11
- # version: 0.16.6
11
+ # version: 0.17.20231112
12
12
#
13
- # REGENDATA ("0.16.6 ",["github","patat.cabal"])
13
+ # REGENDATA ("0.17.20231112 ",["github","patat.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
@@ -23,24 +23,29 @@ jobs:
23
23
timeout-minutes :
24
24
60
25
25
container :
26
- image : buildpack-deps:bionic
26
+ image : buildpack-deps:focal
27
27
continue-on-error : ${{ matrix.allow-failure }}
28
28
strategy :
29
29
matrix :
30
30
include :
31
- - compiler : ghc-9.6.2
31
+ - compiler : ghc-9.8.1
32
32
compilerKind : ghc
33
- compilerVersion : 9.6.2
33
+ compilerVersion : 9.8.1
34
34
setup-method : ghcup
35
35
allow-failure : false
36
- - compiler : ghc-9.4.5
36
+ - compiler : ghc-9.6.3
37
37
compilerKind : ghc
38
- compilerVersion : 9.4.5
38
+ compilerVersion : 9.6.3
39
39
setup-method : ghcup
40
40
allow-failure : false
41
- - compiler : ghc-9.2.4
41
+ - compiler : ghc-9.4.8
42
42
compilerKind : ghc
43
- compilerVersion : 9.2.4
43
+ compilerVersion : 9.4.8
44
+ setup-method : ghcup
45
+ allow-failure : false
46
+ - compiler : ghc-9.2.8
47
+ compilerKind : ghc
48
+ compilerVersion : 9.2.8
44
49
setup-method : ghcup
45
50
allow-failure : false
46
51
fail-fast : false
@@ -50,10 +55,10 @@ jobs:
50
55
apt-get update
51
56
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
52
57
mkdir -p "$HOME/.ghcup/bin"
53
- curl -sL https://downloads.haskell.org/ghcup/0.1.19.2 /x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
58
+ curl -sL https://downloads.haskell.org/ghcup/0.1.20.0 /x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
54
59
chmod a+x "$HOME/.ghcup/bin/ghcup"
55
60
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
56
- "$HOME/.ghcup/bin/ghcup" install cabal 3.10.1 .0 || (cat "$HOME"/.ghcup/logs/*.* && false)
61
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.10.2 .0 || (cat "$HOME"/.ghcup/logs/*.* && false)
57
62
env :
58
63
HCKIND : ${{ matrix.compilerKind }}
59
64
HCNAME : ${{ matrix.compiler }}
@@ -65,11 +70,13 @@ jobs:
65
70
echo "CABAL_DIR=$HOME/.cabal" >> "$GITHUB_ENV"
66
71
echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
67
72
HCDIR=/opt/$HCKIND/$HCVER
68
- HC=$HOME/.ghcup/bin/$HCKIND-$HCVER
73
+ HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER")
74
+ HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#')
75
+ HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#')
69
76
echo "HC=$HC" >> "$GITHUB_ENV"
70
- echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER " >> "$GITHUB_ENV"
71
- echo "HADDOCK=$HOME/.ghcup/bin/haddock-$HCVER " >> "$GITHUB_ENV"
72
- echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1 .0 -vnormal+nowrap" >> "$GITHUB_ENV"
77
+ echo "HCPKG=$HCPKG " >> "$GITHUB_ENV"
78
+ echo "HADDOCK=$HADDOCK " >> "$GITHUB_ENV"
79
+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2 .0 -vnormal+nowrap" >> "$GITHUB_ENV"
73
80
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
74
81
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
75
82
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
@@ -126,7 +133,7 @@ jobs:
126
133
chmod a+x $HOME/.cabal/bin/cabal-plan
127
134
cabal-plan --version
128
135
- name : checkout
129
- uses : actions/checkout@v3
136
+ uses : actions/checkout@v4
130
137
with :
131
138
path : source
132
139
- name : initial cabal.project for sdist
0 commit comments