diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-17 09:13:10 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-17 09:13:10 -0700 |
commit | 55cf0331e76a71267dc56bd6f0c343a002e524dd (patch) | |
tree | 65e4d2bcec355239acfeae51662f011dfba45e54 | |
parent | cc8e8e0d0acae6678e86743a1b7136dc6530f1a7 (diff) | |
download | pandoc-55cf0331e76a71267dc56bd6f0c343a002e524dd.tar.gz |
GitHub CI - experiment with structured matrix entries.
-rw-r--r-- | .github/workflows/haskell.yml | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 9acb538a7..efac066a6 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -30,30 +30,24 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ghcversion: - - '8.0.2' - - '8.2.2' - - '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' + versions: + - ghc: '8.0.2' + cabal: '2.4' + - ghc: '8.2.2' + cabal: '2.4' + - ghc: '8.4.4' + cabal: '2.4' + - ghc: '8.6.5' + cabal: '2.4' + - ghc: '8.8.1' + cabal: '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-${{ matrix.cabalversion }} + sudo apt-get install ghc-${{ matrix.versions.ghc }} cabal-install-${{ matrix.versions.cabal }} - name: Install dependencies run: | export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH |