File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
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 :
@@ -32,11 +32,23 @@ jobs:
32
32
- name : Install GHCup
33
33
run : |
34
34
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
35
- ghcup --version
35
+ shell : bash
36
36
env :
37
37
BOOTSTRAP_HASKELL_NONINTERACTIVE : 1
38
38
BOOTSTRAP_HASKELL_MINIMAL : 1
39
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
+
40
52
- name : Toolchain settings
41
53
run : |
42
54
ghcup upgrade -i -f
You can’t perform that action at this time.
0 commit comments