File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,19 @@ jobs:
14
14
15
15
runs-on : ubuntu-latest
16
16
17
+
18
+
17
19
steps :
18
20
- uses : actions/checkout@v4
19
- - uses : actions/setup-haskell@v1
20
- with :
21
- ghc-version : ' 9.6.6'
22
- cabal-version : ' 3.12'
21
+
22
+ - name : Setup Haskell
23
+ uses : haskell-actions/setup@v2.7.9
24
+ with :
25
+ ghc-version : 9.6.6
26
+ cabal-version : 3.12
27
+ enable-stack : true
28
+ stack-version : 3.3.1
29
+ stack-setup-ghc : true
23
30
24
31
- name : Cache
25
32
uses : actions/cache@v3
35
42
36
43
- name : Install dependencies
37
44
run : |
38
- cabal update
39
- cabal build --only-dependencies --enable-tests --enable-benchmarks
45
+ stack update
46
+ stack build --only-dependencies --enable-tests --enable-benchmarks
40
47
- name : Build
41
- run : cabal build --enable-tests --enable-benchmarks all
48
+ run : stack build --enable-tests --enable-benchmarks all
42
49
- name : Run tests
43
- run : cabal test all
50
+ run : stack test all
You can’t perform that action at this time.
0 commit comments