File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 10
10
11
11
defaults :
12
12
run :
13
- shell : devenv shell bash -- -e {0}
13
+ shell : nix- shell --rul "bash -e {0}"
14
14
15
15
jobs :
16
16
tests :
22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
- uses : cachix/install-nix-action@v26
25
- - uses : cachix/cachix-action@v14
26
- with :
27
- name : devenv
28
-
29
- - name : Install devenv.sh
30
- shell : sh
31
- run : nix profile install nixpkgs#devenv
32
-
33
25
- name : Cache Cabal
34
26
id : cache
35
27
uses : actions/cache@v4
@@ -42,16 +34,13 @@ jobs:
42
34
43
35
- name : Update Cabal Hackage list
44
36
# if: steps.cache.outputs.cache-hit != 'true'
45
- run : run-update
46
-
47
- # - name: Build the devenv shell and run any pre-commit hooks
48
- # run: devenv test
37
+ run : cabal --enable-nix update
49
38
50
39
- name : Build the project
51
- run : run- build
40
+ run : cabal --enable-nix build all
52
41
53
42
- name : Run core tests
54
- run : run-core-tests
43
+ run : cabal --enable-nix test core
55
44
56
45
- name : Run CLI tests
57
- run : run-cli-tests
46
+ run : cabal --enable-nix test cli
You can’t perform that action at this time.
0 commit comments