@@ -30,30 +30,24 @@ jobs:
3030 runs-on: ubuntu-latest
3131 strategy:
3232 matrix:
33− ghcversion:
34− - '8.0.2'
35− - '8.2.2'
36− - '8.4.4'
37− - '8.6.5'
38− - '8.8.1'
39− include:
40− - ghcversion: '8.0.2'
41− cabalversion: '2.4'
42− - ghcversion: '8.2.2'
43− cabalversion: '2.4'
44− - ghcversion: '8.4.4'
45− cabalversion: '2.4'
46− - ghcversion: '8.6.5'
47− cabalversion: '2.4'
48− - ghcversion: '8.8.1'
49− cabalversion: '3.0'
33+ versions:
34+ - ghc: '8.0.2'
35+ cabal: '2.4'
36+ - ghc: '8.2.2'
37+ cabal: '2.4'
38+ - ghc: '8.4.4'
39+ cabal: '2.4'
40+ - ghc: '8.6.5'
41+ cabal: '2.4'
42+ - ghc: '8.8.1'
43+ cabal: '3.0'
5044 steps:
5145 - uses: actions/checkout@v1
5246 - name: Install recent cabal/ghc
5347 run: |
5448 sudo add-apt-repository ppa:hvr/ghc
5549 sudo apt-get update
56− sudo apt-get install ghc-${{ matrix.ghcversion }} cabal-install-${{ matrix.cabalversion }}
50+ sudo apt-get install ghc-${{ matrix.versions.ghc }} cabal-install-${{ matrix.versions.cabal }}
5751 - name: Install dependencies
5852 run: |
5953 export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH