File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
- defaults :
12
- run :
13
- shell : nix-shell --run "bash -e {0}"
14
-
15
11
jobs :
16
12
tests :
17
13
strategy :
21
17
22
18
steps :
23
19
- uses : actions/checkout@v4
24
- - uses : cachix/install-nix-action@v26
20
+ - uses : cachix/install-nix-action@v27
25
21
- name : Cache Cabal
26
22
id : cache
27
23
uses : actions/cache@v4
@@ -34,13 +30,13 @@ jobs:
34
30
35
31
- name : Update Cabal Hackage list
36
32
# if: steps.cache.outputs.cache-hit != 'true'
37
- run : cabal update
33
+ run : nix-shell --run " cabal update"
38
34
39
35
- name : Build the project
40
- run : cabal build all
36
+ run : nix-shell --run " cabal build"
41
37
42
38
- name : Run core tests
43
- run : cabal test core
39
+ run : nix-shell --run " cabal test core"
44
40
45
41
- name : Run CLI tests
46
- run : cabal test cli
42
+ run : nix-shell --run " cabal test cli"
You can’t perform that action at this time.
0 commit comments