Skip to content

Commit 0ca3389

Browse files
committed
Migrate to haskell-actions/setup
Backport of b639528 from #9463
1 parent 9f5c8e8 commit 0ca3389

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
- uses: actions/checkout@v2
5555

56-
- uses: haskell/actions/setup@v1
56+
- uses: haskell-actions/setup@v2
5757
id: setup-haskell
5858
with:
5959
ghc-version: ${{ matrix.ghc }}
@@ -208,10 +208,12 @@ jobs:
208208
apt-get update
209209
apt-get install -y ghc-${{ matrix.extra-ghc }}-dyn
210210
211-
- uses: haskell/actions/setup@v1
211+
- uses: haskell-actions/setup@v2
212212
id: setup-haskell
213213
with:
214214
ghc-version: ${{ matrix.ghc }}
215+
# Make sure this bindist works in this old environment
216+
cabal-install: 3.10.1.0
215217

216218
# As we are reusing the cached build dir from the previous step
217219
# the generated artifacts are available here,
@@ -256,7 +258,7 @@ jobs:
256258
steps:
257259
- uses: actions/checkout@v2
258260

259-
- uses: haskell/actions/setup@v1
261+
- uses: haskell-actions/setup@v2
260262
id: setup-haskell
261263
with:
262264
ghc-version: ${{ matrix.ghc }}

0 commit comments

Comments
 (0)