Skip to content
Snippets Groups Projects
Commit 4b47a232 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Use 'with:' to specify toolchain

parent 81ebaf94
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,9 @@ jobs:
- name: Install GHCup
uses: haskell/ghcup-setup@v1
- name: Setup toolchain
run: |
ghcup install ghc --set ${{ matrix.ghc }}
ghcup install cabal --set latest
with:
ghc: ${{ matrix.ghc }}
cabal: latest
- if: runner.os == 'macOS'
name: Install system deps via brew
......@@ -75,11 +73,9 @@ jobs:
- name: Install GHCup
uses: haskell/ghcup-setup@v1
- name: Setup toolchain
run: |
ghcup install ghc --set latest
ghcup install cabal --set latest
with:
ghc: latest
cabal: latest
- uses: actions/checkout@v4
......@@ -102,11 +98,9 @@ jobs:
- name: Install GHCup
uses: haskell/ghcup-setup@v1
- name: Setup toolchain
run: |
ghcup install ghc --set latest
ghcup install cabal --set latest
with:
ghc: latest
cabal: latest
- uses: actions/checkout@v4
- name: Test
......@@ -176,11 +170,9 @@ jobs:
- name: Install GHCup
uses: haskell/ghcup-setup@v1
- name: Setup toolchain
run: |
ghcup install ghc --set ${{ matrix.ghc }}
ghcup install cabal --set latest
with:
ghc: ${{ matrix.ghc }}
cabal: latest
- name: Run build
run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment