Skip to content

Commit 259a995

Browse files
Bodigrimhasufell
authored andcommitted
CI: install ghcup manually
1 parent d402a1b commit 259a995

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
- uses: actions/checkout@v4
3333
- name: Setup toolchain
3434
run: |
35-
which ghcup
36-
ghcup install cabal recommended
37-
ghcup install ghc --set ${{ matrix.ghc }}
35+
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 BOOTSTRAP_HASKELL_GHC_VERSION=${{ matrix.ghc }} BOOTSTRAP_HASKELL_ADJUST_BASHRC=yes sh
36+
. ~/.ghcup/env
3837
- uses: actions/cache@v4
3938
name: Cache cabal stuff
4039
with:

0 commit comments

Comments
 (0)