File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -40,26 +40,24 @@ jobs:
40
40
restore-keys : |
41
41
cabal-${{ runner.os }}-${{ hashFiles('cabal.project', 'default.nix', 'shell.nix') }}
42
42
43
- - name : Prepare nix shell
44
- run :
45
- nix develop --build
43
+ - name : Enter nix shell
44
+ uses : nicknovitski/nix-develop@v1
45
+ with :
46
+ arguments : " github:input-output-hk/devx#ghc96"
46
47
47
48
- name : Formatting
48
- run :
49
- nix develop --command fourmolu --mode check .
49
+ run : fourmolu --mode check .
50
50
51
51
- name : Build
52
52
run : |
53
- nix develop --command cabal update
54
- nix develop --command cabal build all --ghc-options=-Werror
53
+ cabal update
54
+ cabal build all --ghc-options=-Werror
55
55
56
56
- name : Test
57
- run :
58
- nix develop --command cabal test all
57
+ run : cabal test all
59
58
60
59
- name : Documentation (Haddock)
61
- run : |
62
- nix develop --command .github/workflows/ci-haddock.sh
60
+ run : .github/workflows/ci-haddock.sh
63
61
64
62
- name : Upload Documentation
65
63
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -34,19 +34,20 @@ jobs:
34
34
key : |
35
35
cabal-${{ runner.os }}-${{ hashFiles('cabal.project', 'default.nix', 'shell.nix') }}
36
36
37
- - name : Prepare nix shell
38
- run :
39
- nix develop --build
37
+ - name : Enter nix shell
38
+ uses : nicknovitski/nix-develop@v1
39
+ with :
40
+ arguments : " github:input-output-hk/devx#ghc96"
40
41
41
42
- name : Cabal check
42
43
run : |
43
44
cd quickcheck-dynamic
44
- nix develop --command cabal check
45
+ cabal check
45
46
46
47
- name : Package
47
48
run : |
48
- nix develop --command cabal sdist quickcheck-dynamic
49
- nix develop --command cabal haddock --haddock-for-hackage quickcheck-dynamic
49
+ cabal sdist quickcheck-dynamic
50
+ cabal haddock --haddock-for-hackage quickcheck-dynamic
50
51
51
52
- name : Get the version
52
53
id : get_version
You can’t perform that action at this time.
0 commit comments