File tree 1 file changed +14
-6
lines changed
1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 13
13
14
14
name : GHC ${{ matrix.ghc }} on ${{ matrix.os }}
15
15
steps :
16
- - uses : actions/checkout@v3
17
- - uses : haskell/actions/setup@v2
18
- with :
19
- ghc-version : ${{ matrix.ghc }}
20
- cabal-version : ' 3.10.1.0'
16
+
21
17
- name : Cache
22
18
uses : actions/cache@v3
23
19
env :
@@ -31,13 +27,25 @@ jobs:
31
27
${{ runner.os }}-${{ matrix.ghc }}-
32
28
${{ runner.os }}
33
29
30
+ - uses : actions/checkout@v3
31
+
32
+ - uses : haskell/actions/setup@v2
33
+ with :
34
+ ghc-version : ${{ matrix.ghc }}
35
+ cabal-version : ' 3.10.3.0'
36
+
34
37
- name : Install dependencies
35
- run : cabal build --only-dependencies --enable-tests --enable-benchmarks
38
+ run : |
39
+ cabal update
40
+ cabal build --only-dependencies --enable-tests --enable-benchmarks
41
+
36
42
- name : Build
37
43
run : cabal build --enable-tests --enable-benchmarks all
44
+
38
45
- name : Run tests
39
46
# We don't run hlint tests, because different versions of hlint have different suggestions, and we don't want to worry about satisfying them all.
40
47
run : cabal test --enable-tests -f-hlint all
48
+
41
49
- if : matrix.ghc != '8.4.4'
42
50
# docs aren't built on ghc 8.4.4 because some dependency docs don't build on older GHCs
43
51
name : Build Docs
You can’t perform that action at this time.
0 commit comments