diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-12 23:19:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-12 23:19:32 -0700 |
commit | f2612fa1ae1c885bd73b90f3221b0efd42d0337e (patch) | |
tree | a95ffd7d6c0f3e6ddd2c13336895e7a06aef7291 /.github/workflows | |
parent | ab792faa3a78e4990c4d0c9ef797f1f0789877ae (diff) | |
download | pandoc-f2612fa1ae1c885bd73b90f3221b0efd42d0337e.tar.gz |
GitHUB CI: Try installing recent cabal.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/haskell.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 54fb6d58f..e3d4b116f 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -4,15 +4,17 @@ on: [push] jobs: build: - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - name: Install recent cabal/ghc + run: add-apt-repository ppa:hvr/ghc && apt-get update && apt-get install ghc-8.6.4 cabal-install-2.4 - name: Install dependencies - run: cabal update && cabal install --dependencies-only --enable-tests + run: cabal v2-update && cabal v2-build --dependencies-only --enable-tests - name: Build run: | - cabal configure --enable-tests && cabal build + cabal v2-build --enable-tests - name: Run tests - run: cabal test + run: cabal v2-test |