Fix macos ghcup and cabal flags (#4)

* fix short-circuit logic for ghcup based installs of ghc

* fix unrecognized user-config option for cabal v2.0

* update dependencies
This commit is contained in:
Jared Weakly
2020-06-09 09:58:15 -07:00
committed by GitHub
parent c1b48c3995
commit cfefe70615
7 changed files with 6821 additions and 6158 deletions

View File

@@ -35,12 +35,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
ghc: ['8.8', '8.4.4']
cabal: ['3.0.0.0']
ghc: ['latest', '8.4.4']
cabal: ['latest']
include:
- os: ubuntu-latest
ghc: '7.10.3'
cabal: '3.0.0.0'
- os: ubuntu-latest
ghc: '8.2.2'
cabal: '2.0'
steps:
- uses: actions/checkout@v2
@@ -56,6 +59,11 @@ jobs:
- run: |
cabal --version
ghc --version
- shell: bash
if: matrix.ghc != 'latest'
# this check depends on the ghc versions being "exact" in the matrix
run: |
[[ $(ghc --numeric-version) == ${{ matrix.ghc }} ]]
install-stack:
name: Stack ${{ matrix.stack }} ${{ matrix.os }}