aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-17 09:02:57 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-17 09:02:57 -0700
commite1282588b02ce90cfb75f050edc997b873adf61e (patch)
treed8ab161fc4dbd3dbf7d11ed5609209f325b42fea
parent3b52baab8e74fff83c8e4ea140ceb43daf51b79f (diff)
downloadpandoc-e1282588b02ce90cfb75f050edc997b873adf61e.tar.gz
GitHub CI - use cabal 3 with ghc 8.8.
-rw-r--r--.github/workflows/haskell.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml
index 9ac7cc8b7..a8c8cf590 100644
--- a/.github/workflows/haskell.yml
+++ b/.github/workflows/haskell.yml
@@ -36,13 +36,24 @@ jobs:
- 8.4.4
- 8.6.5
- 8.8.1
+ include:
+ - ghcversion: 8.0.2
+ cabalversion: 2.4
+ - ghcversion: 8.2.2
+ cabalversion: 2.4
+ - ghcversion: 8.4.4
+ cabalversion: 2.4
+ - ghcversion: 8.6.5
+ cabalversion: 2.4
+ - ghcversion: 8.8.1
+ cabalversion: 3.0
steps:
- uses: actions/checkout@v1
- name: Install recent cabal/ghc
run: |
sudo add-apt-repository ppa:hvr/ghc
sudo apt-get update
- sudo apt-get install ghc-${{ matrix.ghcversion }} cabal-install-2.4
+ sudo apt-get install ghc-${{ matrix.ghcversion }} cabal-install-${{ matrix.cabalversion }}
- name: Install dependencies
run: |
export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH