Skip to content

Commit d0ca944

Browse files
committed
Install extra ghc with setup action
1 parent e056c74 commit d0ca944

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/validate.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,15 @@ jobs:
234234
# sudo chown -R $USER /usr/local/.ghcup
235235
# sudo chmod -R 777 /usr/local/.ghcup
236236

237-
- name: Install extra compiler
238-
run: ghcup install ghc ${{ matrix.extra-ghc }}
237+
# - name: Install extra compiler
238+
# run: ghcup install ghc ${{ matrix.extra-ghc }}
239+
240+
- uses: haskell-actions/setup@v2
241+
id: setup-haskell
242+
with:
243+
ghc-version: ${{ matrix.extra-ghc }}
244+
cabal-version: latest
245+
cabal-update: false
239246

240247
- uses: haskell-actions/setup@v2
241248
id: setup-haskell

0 commit comments

Comments
 (0)