File tree 2 files changed +56
-55
lines changed
2 files changed +56
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ - push
4
+ - pull_request
5
+
6
+ defaults :
7
+ run :
8
+ shell : bash
9
+
10
+ jobs :
11
+ main :
12
+ name : GHC ${{ matrix.ghc }} on ${{ matrix.os }}
13
+ runs-on : ${{ matrix.os }}
14
+
15
+ # https://github.com/orgs/community/discussions/57827
16
+ if : github.event_name != 'pull_request' ||
17
+ github.event.pull_request.head.repo.full_name !=
18
+ github.event.pull_request.base.repo.full_name
19
+
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ os : [ubuntu-latest]
24
+ ghc :
25
+ - " 9.0"
26
+ - " 9.2"
27
+ - " 9.4"
28
+ - " 9.6"
29
+ - " 9.8"
30
+ - " 9.10"
31
+
32
+ steps :
33
+
34
+ - uses : actions/checkout@v4
35
+
36
+ - uses : haskell-actions/setup@v2
37
+ id : setup-haskell-cabal
38
+ with :
39
+ ghc-version : ${{ matrix.ghc }}
40
+
41
+ - uses : actions/cache@v4
42
+ name : Cache cabal stuff
43
+ with :
44
+ path : |
45
+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
46
+ dist-newstyle
47
+ key : ${{ runner.os }}-${{ matrix.ghc }}
48
+
49
+ - name : Cabal version
50
+ run : |
51
+ cabal --version
52
+
53
+ - name : Build & Test
54
+ run : |
55
+ cabal build --enable-tests
56
+ cabal test --enable-tests --test-show-details=direct properties
You can’t perform that action at this time.
0 commit comments