This repository was archived by the owner on Aug 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 4
4
on :
5
5
pull_request :
6
6
push :
7
- branches : ["ghc-8.10 "]
7
+ branches : ["ghc-9.0 "]
8
8
9
9
jobs :
10
10
cabal :
@@ -13,37 +13,41 @@ jobs:
13
13
strategy :
14
14
matrix :
15
15
os : [ubuntu-latest]
16
- cabal : ["3.2 "]
16
+ cabal : ["3.4 "]
17
17
ghc :
18
- - " 8.10.1"
19
- - " 8.10.2"
18
+ - " 9.0.1"
20
19
21
20
steps :
22
21
- uses : actions/checkout@v2
23
- if : github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/ghc-8.10 '
22
+ if : github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/ghc-9.0 '
24
23
25
- - uses : actions/setup-haskell @v1.1.4
24
+ - uses : haskell/ actions/setup@v1
26
25
id : setup-haskell-cabal
27
26
name : Setup Haskell
28
27
with :
29
28
ghc-version : ${{ matrix.ghc }}
30
29
cabal-version : ${{ matrix.cabal }}
31
30
31
+ - name : Prepare environment
32
+ run : echo "$HOME/.ghcup/bin" >> $GITHUB_PATH
33
+
34
+
32
35
- name : Freeze
33
36
run : |
34
37
cabal freeze
35
-
36
- - uses : actions/cache@v1
37
- name : Cache ~/.cabal/store
38
+
39
+ - uses : actions/cache@v2
40
+ name : Cache ~/.cabal/store and .ghcup
38
41
with :
39
- path : ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
40
- key : ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
42
+ path : |
43
+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
44
+ .ghcup
45
+ key : ${{ runner.os }}
41
46
42
47
- name : Build
43
48
run : |
44
49
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
45
50
cabal build all
46
51
47
52
- name : Test
48
- run : |
49
- cabal test all
53
+ run : cabal test all
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ test-suite spec
189
189
, containers
190
190
, deepseq
191
191
, directory
192
+ , exceptions
192
193
, filepath
193
194
, ghc-boot
194
195
, transformers
You can’t perform that action at this time.
0 commit comments