Skip to content

Commit b639528

Browse files
committed
Migrate to haskell-actions/setup
As of 2023-09-09, haskell/action/setup is no longer maintained. The comment # latest is mandatory for cabal-testsuite, see #8133 is removed; as the validate job was already fixing a version of cabal-install.
1 parent eaa5245 commit b639528

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
8080
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
8181

82-
- uses: haskell/actions/setup@v2
82+
- uses: haskell-actions/setup@v2
8383
id: setup-haskell
8484
with:
8585
ghc-version: ${{ matrix.ghc }}
@@ -219,11 +219,12 @@ jobs:
219219
apt-get update
220220
apt-get install -y ghc-${{ matrix.extra-ghc }}-dyn
221221
222-
- uses: haskell/actions/setup@v2
222+
- uses: haskell-actions/setup@v2
223223
id: setup-haskell
224224
with:
225225
ghc-version: ${{ matrix.ghc }}
226-
cabal-version: latest # latest is mandatory for cabal-testsuite, see https://github.com/haskell/cabal/issues/8133
226+
# Make sure this bindist works in this old environment
227+
cabal-version: 3.10.1.0
227228

228229
# As we are reusing the cached build dir from the previous step
229230
# the generated artifacts are available here,
@@ -272,7 +273,7 @@ jobs:
272273
sudo chown -R $USER /usr/local/.ghcup
273274
sudo chmod -R 777 /usr/local/.ghcup
274275
fi
275-
- uses: haskell/actions/setup@v2
276+
- uses: haskell-actions/setup@v2
276277
id: setup-haskell
277278
with:
278279
ghc-version: ${{ matrix.ghc }}

0 commit comments

Comments
 (0)