Skip to content

Commit 6029285

Browse files
authored
Merge pull request #651 from haskell-CI/version-updates
Version updates
2 parents 3fc9d3c + 5e6662f commit 6029285

22 files changed

+77
-46
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
apt-get update
7878
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 libnuma-dev
7979
mkdir -p "$HOME/.ghcup/bin"
80-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
80+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
8181
chmod a+x "$HOME/.ghcup/bin/ghcup"
8282
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
8383
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -150,7 +150,7 @@ jobs:
150150
- name: cache (tools)
151151
uses: actions/cache/restore@v3
152152
with:
153-
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-ddfe230f
153+
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-f01e9287
154154
path: ~/.haskell-ci-tools
155155
- name: install cabal-plan
156156
run: |
@@ -178,7 +178,7 @@ jobs:
178178
uses: actions/cache/save@v3
179179
if: always()
180180
with:
181-
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-ddfe230f
181+
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-f01e9287
182182
path: ~/.haskell-ci-tools
183183
- name: checkout
184184
uses: actions/checkout@v3
@@ -225,7 +225,7 @@ jobs:
225225
package bytestring
226226
tests: False
227227
EOF
228-
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(Cabal|cabal-install-parsers|haskell-ci)$/; }' >> cabal.project.local
228+
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(Cabal|Cabal-syntax|cabal-install-parsers|haskell-ci|parsec)$/; }' >> cabal.project.local
229229
cat cabal.project
230230
cat cabal.project.local
231231
- name: dump install plan

cabal-install-parsers/Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.1
2+
3+
- Use `Cabal-syntax-3.10`
4+
15
## 0.6
26

37
- Add sizes of tarball and cabal files to `Cabal.Index.ReleaseInfo` data structure.

cabal-install-parsers/cabal-install-parsers.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: cabal-install-parsers
3-
version: 0.6
3+
version: 0.6.1
44
synopsis: Utilities to work with cabal-install files
55
description:
66
@cabal-install-parsers@ provides parsers for @cabal-install@ files:
@@ -68,7 +68,7 @@ library
6868
, base >=4.10 && <4.18
6969
, binary ^>=0.8.5
7070
, bytestring ^>=0.10.8.1 || ^>=0.11.1.0
71-
, Cabal-syntax ^>=3.8.1.0
71+
, Cabal-syntax ^>=3.10.1.0
7272
, containers ^>=0.5.7.1 || ^>=0.6.0.1
7373
, deepseq ^>=1.4.2.0
7474
, directory ^>=1.3.0.0

cabal.haskell-ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ haddock: True
4646

4747
-- By default `installed` constraints are used for packages
4848
-- in global db. We can modify which constraints are used.
49-
installed: +all -Cabal
49+
installed: +all -Cabal -Cabal-syntax -parsec
5050

5151
-- Options for local packages
5252
local-ghc-options: -Werror

fixtures/all-versions.github

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ jobs:
334334
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
335335
if [ "${{ matrix.setup-method }}" = ghcup ]; then
336336
mkdir -p "$HOME/.ghcup/bin"
337-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
337+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
338338
chmod a+x "$HOME/.ghcup/bin/ghcup"
339339
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
340340
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -346,7 +346,7 @@ jobs:
346346
apt-get update
347347
if [ $((GHCJSARITH)) -ne 0 ] ; then apt-get install -y "$HCNAME" ghc-8.4.4 nodejs ; else apt-get install -y "$HCNAME" ; fi
348348
mkdir -p "$HOME/.ghcup/bin"
349-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
349+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
350350
chmod a+x "$HOME/.ghcup/bin/ghcup"
351351
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
352352
fi

fixtures/copy-fields-all.github

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
192192
if [ "${{ matrix.setup-method }}" = ghcup ]; then
193193
mkdir -p "$HOME/.ghcup/bin"
194-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
194+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
195195
chmod a+x "$HOME/.ghcup/bin/ghcup"
196196
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
197197
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -200,7 +200,7 @@ jobs:
200200
apt-get update
201201
apt-get install -y "$HCNAME"
202202
mkdir -p "$HOME/.ghcup/bin"
203-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
203+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
204204
chmod a+x "$HOME/.ghcup/bin/ghcup"
205205
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
206206
fi

fixtures/copy-fields-none.github

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
192192
if [ "${{ matrix.setup-method }}" = ghcup ]; then
193193
mkdir -p "$HOME/.ghcup/bin"
194-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
194+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
195195
chmod a+x "$HOME/.ghcup/bin/ghcup"
196196
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
197197
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -200,7 +200,7 @@ jobs:
200200
apt-get update
201201
apt-get install -y "$HCNAME"
202202
mkdir -p "$HOME/.ghcup/bin"
203-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
203+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
204204
chmod a+x "$HOME/.ghcup/bin/ghcup"
205205
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
206206
fi

fixtures/copy-fields-some.github

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
192192
if [ "${{ matrix.setup-method }}" = ghcup ]; then
193193
mkdir -p "$HOME/.ghcup/bin"
194-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
194+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
195195
chmod a+x "$HOME/.ghcup/bin/ghcup"
196196
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
197197
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -200,7 +200,7 @@ jobs:
200200
apt-get update
201201
apt-get install -y "$HCNAME"
202202
mkdir -p "$HOME/.ghcup/bin"
203-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
203+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
204204
chmod a+x "$HOME/.ghcup/bin/ghcup"
205205
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
206206
fi

fixtures/empty-line.github

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
192192
if [ "${{ matrix.setup-method }}" = ghcup ]; then
193193
mkdir -p "$HOME/.ghcup/bin"
194-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
194+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
195195
chmod a+x "$HOME/.ghcup/bin/ghcup"
196196
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
197197
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -201,7 +201,7 @@ jobs:
201201
apt-get update
202202
apt-get install -y "$HCNAME"
203203
mkdir -p "$HOME/.ghcup/bin"
204-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
204+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
205205
chmod a+x "$HOME/.ghcup/bin/ghcup"
206206
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
207207
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)

fixtures/enabled-jobs.github

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
245245
if [ "${{ matrix.setup-method }}" = ghcup ]; then
246246
mkdir -p "$HOME/.ghcup/bin"
247-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
247+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
248248
chmod a+x "$HOME/.ghcup/bin/ghcup"
249249
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
250250
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -256,7 +256,7 @@ jobs:
256256
apt-get update
257257
if [ $((GHCJSARITH)) -ne 0 ] ; then apt-get install -y "$HCNAME" ghc-8.4.4 nodejs ; else apt-get install -y "$HCNAME" ; fi
258258
mkdir -p "$HOME/.ghcup/bin"
259-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
259+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.2/x86_64-linux-ghcup-0.1.19.2 > "$HOME/.ghcup/bin/ghcup"
260260
chmod a+x "$HOME/.ghcup/bin/ghcup"
261261
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
262262
fi

0 commit comments

Comments
 (0)