CI: ensure we're using the right version of cabal.

(Add `--set` to `ghcup install`.)
This commit is contained in:
John MacFarlane 2022-04-04 09:12:36 -07:00
parent 23cffcf898
commit fec6ccaa0d

View file

@ -78,7 +78,7 @@ jobs:
- name: Install cabal/ghc - name: Install cabal/ghc
run: | run: |
ghcup install ghc --set ${{ matrix.versions.ghc }} ghcup install ghc --set ${{ matrix.versions.ghc }}
ghcup install cabal ${{ matrix.versions.cabal }} ghcup install cabal --set ${{ matrix.versions.cabal }}
# declare/restore cached things # declare/restore cached things
# caching doesn't work for scheduled runs yet # caching doesn't work for scheduled runs yet