This repository was archived by the owner on Mar 17, 2021. It is now read-only.
File tree 1 file changed +18
-13
lines changed
1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
- name : ghc ${{ matrix.ghc }}
12
+ name : ghc ${{ matrix.versions. ghc }}
13
13
runs-on : ubuntu-16.04
14
14
strategy :
15
15
matrix :
16
- cabal : ["2.4"]
17
- ghc :
18
- - " 8.0.2"
19
- - " 8.2.2"
20
- - " 8.4.4"
21
- - " 8.6.5"
22
- - " 8.8.3"
23
- - " 8.10.1"
16
+ versions :
17
+ - ghc : ' 8.0.2'
18
+ cabal : ' 2.4'
19
+ - ghc : ' 8.2.2'
20
+ cabal : ' 2.4'
21
+ - ghc : ' 8.4.4'
22
+ cabal : ' 2.4'
23
+ - ghc : ' 8.6.5'
24
+ cabal : ' 3.2'
25
+ - ghc : ' 8.8.3'
26
+ cabal : ' 3.2'
27
+ - ghc : ' 8.10.1'
28
+ cabal : ' 3.2'
24
29
25
30
steps :
26
31
- uses : actions/checkout@v2
@@ -32,19 +37,19 @@ jobs:
32
37
- uses : actions/setup-haskell@v1
33
38
name : Setup Haskell
34
39
with :
35
- ghc-version : ${{ matrix.ghc }}
36
- cabal-version : ${{ matrix.cabal }}
40
+ ghc-version : ${{ matrix.versions. ghc }}
41
+ cabal-version : ${{ matrix.versions. cabal }}
37
42
38
43
- uses : actions/cache@v1
39
44
name : Cache ~/.cabal/store
40
45
with :
41
46
path : ~/.cabal/store
42
- key : ${{ runner.os }}-${{ matrix.ghc }}-cabal
47
+ key : ${{ runner.os }}-${{ matrix.versions. ghc }}-cabal
43
48
44
49
- name : Build
45
50
run : |
46
51
cabal v2-update
47
- cabal v2-build --enable-tests --enable-benchmarks
52
+ cabal v2-build --enable-tests
48
53
49
54
- name : Test
50
55
run : |
You can’t perform that action at this time.
0 commit comments