Skip to content

Commit 9466808

Browse files
Use haskell-actions instead of ghcup in ghc head job
1 parent 53e9faa commit 9466808

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ghc-head.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ jobs:
2929
with:
3030
ref: ci/ghc-head
3131
submodules: true
32-
- name: Install ghcup
33-
run: |
34-
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
35-
ghcup install cabal latest
36-
ghcup set cabal latest
37-
ghcup --url-source https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml install ghc latest-nightly
38-
ghcup --url-source https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml set ghc latest-nightly
32+
- uses: haskell-actions/setup@v2
33+
with:
34+
ghc-version: latest-nightly
35+
ghcup-release-channel: "https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml"
3936
- name: Install z3
4037
run: |
4138
curl -OL https://github.com/Z3Prover/z3/releases/download/z3-4.8.7/z3-4.8.7-x64-ubuntu-16.04.zip

0 commit comments

Comments
 (0)