File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- os : [macos-12 , ubuntu-latest, windows-latest]
14
+ os : [macos-latest , ubuntu-latest, windows-latest]
15
15
ghc : [8.10.7, 9.4.8, 9.6.4, 9.8.2]
16
16
runs-on : ${{ matrix.os }}
17
17
steps :
@@ -29,10 +29,26 @@ jobs:
29
29
- run : yarn run webpack
30
30
31
31
# Setup toolchains, install ghcup, install ghc, etc...
32
- - name : Setup Haskell
33
- uses : haskell-actions/setup@v2
34
- with :
35
- ghc-version : ${{ matrix.ghc }}
32
+ - name : Install GHCup
33
+ run : |
34
+ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
35
+ shell : bash
36
+ env :
37
+ BOOTSTRAP_HASKELL_NONINTERACTIVE : 1
38
+ BOOTSTRAP_HASKELL_MINIMAL : 1
39
+
40
+ - name : Check GHCup (Windows)
41
+ run : |
42
+ echo "c:/ghcup/bin" >> $GITHUB_PATH
43
+ shell : bash
44
+ if : runner.os == 'Windows'
45
+
46
+ - name : Check GHCup (Unix)
47
+ run : |
48
+ echo "${HOME}/.ghcup/bin" >> $GITHUB_PATH
49
+ shell : bash
50
+ if : runner.os != 'Windows'
51
+
36
52
- name : Toolchain settings
37
53
run : |
38
54
ghcup upgrade -i -f
You can’t perform that action at this time.
0 commit comments