Skip to content

Commit 3f67373

Browse files
committed
WIP
1 parent 533db95 commit 3f67373

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [macos-12, ubuntu-latest, windows-latest]
14+
os: [macos-latest, ubuntu-latest, windows-latest]
1515
ghc: [8.10.7, 9.4.8, 9.6.4, 9.8.2]
1616
runs-on: ${{ matrix.os }}
1717
steps:
@@ -32,11 +32,23 @@ jobs:
3232
- name: Install GHCup
3333
run: |
3434
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
35-
ghcup --version
35+
shell: bash
3636
env:
3737
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
3838
BOOTSTRAP_HASKELL_MINIMAL: 1
3939

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+
4052
- name: Toolchain settings
4153
run: |
4254
ghcup upgrade -i -f

0 commit comments

Comments
 (0)