@@ -11,19 +11,20 @@ jobs:
11
11
strategy :
12
12
matrix :
13
13
os : [ubuntu-latest]
14
- cabal : ["3.6 "]
14
+ cabal : ["3.10 "]
15
15
ghc :
16
16
- " 8.6.5"
17
17
- " 8.8.4"
18
18
- " 8.10.7"
19
19
- " 9.0.2"
20
- - " 9.2.7"
21
- - " 9.4.4"
20
+ - " 9.2.8"
21
+ - " 9.4.5"
22
+ - " 9.6.2"
22
23
23
24
steps :
24
25
- uses : actions/checkout@v2
25
26
26
- - uses : haskell/actions/setup@v1
27
+ - uses : haskell/actions/setup@v2
27
28
id : setup-haskell-cabal
28
29
name : Setup Haskell
29
30
with :
35
36
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
36
37
cabal freeze
37
38
38
- - uses : actions/cache@v2.1.3
39
+ - uses : actions/cache/restore@v3
39
40
name : Cache ~/.cabal/store and dist-newstyle
40
41
with :
41
42
path : |
45
46
restore-keys : |
46
47
${{ runner.os }}-${{ matrix.ghc }}-
47
48
48
- - name : Configure
49
+ - name : Install doctest
49
50
run : |
50
- cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.20 '
51
+ cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.21 '
51
52
52
53
- name : Build
53
54
run : |
62
63
# Necessary for doctest to be found in $PATH
63
64
export PATH="$HOME/.cabal/bin:$PATH"
64
65
65
- DOCTEST="cabal repl --with-ghc=doctest --ghc-options=-w "
66
+ DOCTEST="cabal repl --with-ghc=doctest"
66
67
(cd servant && eval $DOCTEST)
67
68
(cd servant-client && eval $DOCTEST)
68
69
(cd servant-client-core && eval $DOCTEST)
@@ -114,7 +115,7 @@ jobs:
114
115
runs-on : " ubuntu-latest"
115
116
116
117
steps :
117
- - uses : actions/checkout@v2
118
+ - uses : actions/checkout@v3
118
119
- uses : cachix/install-nix-action@v20
119
120
with :
120
121
extra_nix_config : |
@@ -129,7 +130,7 @@ jobs:
129
130
cat cabal.project
130
131
nix-shell ghcjs.nix --run "cabal v2-update && cabal v2-freeze"
131
132
132
- - uses : actions/cache@v2.1.3
133
+ - uses : actions/cache/save@v3
133
134
name : Cache ~/.cabal/store and dist-newstyle
134
135
with :
135
136
path : |
0 commit comments