File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
22
3- # Trigger the workflow on push or pull request, but only for the master branch
3+ # Trigger the workflow on push or pull request, but only for the
4+ # master branch
45on :
56 pull_request :
67 push :
78 branches : [master]
9+ paths-ignore :
10+ - ' README.md'
11+ - ' stack.yaml'
12+ - ' .travis.yml'
813
914jobs :
1015 build :
11- name : ghc ${{ matrix.ghc }}
12- runs-on : ubuntu-16.04
16+ name : ghc ${{ matrix.versions. ghc }}
17+ runs-on : ubuntu-latest
1318 strategy :
1419 matrix :
15- cabal : ["2.4"]
16- ghc :
17- - " 8.0.2"
18- - " 8.2.2"
19- - " 8.4.4"
20- - " 8.6.5"
21- - " 8.8.3"
20+ versions :
21+ - ghc : ' 8.0.2'
22+ cabal : ' 2.4'
23+ - ghc : ' 8.2.2'
24+ cabal : ' 2.4'
25+ - ghc : ' 8.4.4'
26+ cabal : ' 2.4'
27+ - ghc : ' 8.6.5'
28+ cabal : ' 3.2'
29+ - ghc : ' 8.8.4'
30+ cabal : ' 3.2'
31+ - ghc : ' 8.10.1'
32+ cabal : ' 3.2'
2233
2334 steps :
2435 - uses : actions/checkout@v2
25- if : github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
36+ if : >-
37+ github.event.action == 'opened' ||
38+ github.event.action == 'synchronize' ||
39+ github.event.ref == 'refs/heads/master'
2640
2741 - uses : actions/setup-haskell@v1
2842 name : Setup Haskell
2943 with :
30- ghc-version : ${{ matrix.ghc }}
31- cabal-version : ${{ matrix.cabal }}
44+ ghc-version : ${{ matrix.versions. ghc }}
45+ cabal-version : ${{ matrix.versions. cabal }}
3246
3347 - uses : actions/cache@v1
3448 name : Cache ~/.cabal/store
3549 with :
3650 path : ~/.cabal/store
37- key : ${{ runner.os }}-${{ matrix.ghc }}-cabal
51+ key : ${{ runner.os }}-${{ matrix.versions. ghc }}-cabal
3852
3953 - name : Build
4054 run : |
4155 cabal v2-update
42- cabal v2-build --enable-tests --enable-benchmarks
56+ cabal v2-build --enable-tests
4357
4458 - name : Test
4559 run : |
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ tested-with: GHC == 8.0.2
1919 GHC == 8.2.2
2020 GHC == 8.4.4
2121 GHC == 8.6.5
22- GHC == 8.8.3
22+ GHC == 8.8.4
23+ GHC == 8.10.1
2324
2425source-repository head
2526 type : git
You can’t perform that action at this time.
0 commit comments