Skip to content

Commit f83efd8

Browse files
authored
Merge pull request #762 from haskell-CI/cabal-install-3.14
cabal-install-3.14.1.0
2 parents 90255b2 + 0fec669 commit f83efd8

16 files changed

+45
-57
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,10 @@ jobs:
8686
mkdir -p "$HOME/.ghcup/bin"
8787
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"
89-
- name: Install cabal-install (prerelease)
89+
- name: Install cabal-install
9090
run: |
91-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
92-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
93-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
91+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
92+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
9493
- name: Install GHC (GHCup)
9594
if: matrix.setup-method == 'ghcup'
9695
run: |

fixtures/all-versions.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,10 @@ jobs:
309309
mkdir -p "$HOME/.ghcup/bin"
310310
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
311311
chmod a+x "$HOME/.ghcup/bin/ghcup"
312-
- name: Install cabal-install (prerelease)
312+
- name: Install cabal-install
313313
run: |
314-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
315-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
316-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
314+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
315+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
317316
- name: Install GHC (GHCup)
318317
if: matrix.setup-method == 'ghcup'
319318
run: |

fixtures/copy-fields-all.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,10 @@ jobs:
159159
mkdir -p "$HOME/.ghcup/bin"
160160
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
161161
chmod a+x "$HOME/.ghcup/bin/ghcup"
162-
- name: Install cabal-install (prerelease)
162+
- name: Install cabal-install
163163
run: |
164-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
165-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
166-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
164+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
165+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
167166
- name: Install GHC (GHCup)
168167
if: matrix.setup-method == 'ghcup'
169168
run: |

fixtures/copy-fields-none.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,10 @@ jobs:
159159
mkdir -p "$HOME/.ghcup/bin"
160160
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
161161
chmod a+x "$HOME/.ghcup/bin/ghcup"
162-
- name: Install cabal-install (prerelease)
162+
- name: Install cabal-install
163163
run: |
164-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
165-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
166-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
164+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
165+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
167166
- name: Install GHC (GHCup)
168167
if: matrix.setup-method == 'ghcup'
169168
run: |

fixtures/copy-fields-some.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,10 @@ jobs:
159159
mkdir -p "$HOME/.ghcup/bin"
160160
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
161161
chmod a+x "$HOME/.ghcup/bin/ghcup"
162-
- name: Install cabal-install (prerelease)
162+
- name: Install cabal-install
163163
run: |
164-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
165-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
166-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
164+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
165+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
167166
- name: Install GHC (GHCup)
168167
if: matrix.setup-method == 'ghcup'
169168
run: |

fixtures/doctest-version.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,10 @@ jobs:
309309
mkdir -p "$HOME/.ghcup/bin"
310310
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
311311
chmod a+x "$HOME/.ghcup/bin/ghcup"
312-
- name: Install cabal-install (prerelease)
312+
- name: Install cabal-install
313313
run: |
314-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
315-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
316-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
314+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
315+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
317316
- name: Install GHC (GHCup)
318317
if: matrix.setup-method == 'ghcup'
319318
run: |

fixtures/doctest.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,10 @@ jobs:
309309
mkdir -p "$HOME/.ghcup/bin"
310310
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
311311
chmod a+x "$HOME/.ghcup/bin/ghcup"
312-
- name: Install cabal-install (prerelease)
312+
- name: Install cabal-install
313313
run: |
314-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
315-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
316-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
314+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
315+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
317316
- name: Install GHC (GHCup)
318317
if: matrix.setup-method == 'ghcup'
319318
run: |

fixtures/empty-line.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,10 @@ jobs:
159159
mkdir -p "$HOME/.ghcup/bin"
160160
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
161161
chmod a+x "$HOME/.ghcup/bin/ghcup"
162-
- name: Install cabal-install (prerelease)
162+
- name: Install cabal-install
163163
run: |
164-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
165-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
166-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
164+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
165+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
167166
- name: Install GHC (GHCup)
168167
if: matrix.setup-method == 'ghcup'
169168
run: |

fixtures/enabled-jobs.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,10 @@ jobs:
309309
mkdir -p "$HOME/.ghcup/bin"
310310
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
311311
chmod a+x "$HOME/.ghcup/bin/ghcup"
312-
- name: Install cabal-install (prerelease)
312+
- name: Install cabal-install
313313
run: |
314-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
315-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
316-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
314+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
315+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
317316
- name: Install GHC (GHCup)
318317
if: matrix.setup-method == 'ghcup'
319318
run: |

fixtures/fail-versions.github

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,10 @@ jobs:
159159
mkdir -p "$HOME/.ghcup/bin"
160160
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
161161
chmod a+x "$HOME/.ghcup/bin/ghcup"
162-
- name: Install cabal-install (prerelease)
162+
- name: Install cabal-install
163163
run: |
164-
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
165-
"$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
166-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
164+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
165+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
167166
- name: Install GHC (GHCup)
168167
if: matrix.setup-method == 'ghcup'
169168
run: |

0 commit comments

Comments
 (0)