We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7181fe2 commit 4b75622Copy full SHA for 4b75622
.github/workflows/nix-ci.yml
@@ -12,6 +12,8 @@ on:
12
- 'agda2hs.cabal'
13
- 'cabal.project'
14
- 'Makefile'
15
+ - 'flake.*'
16
+ - 'nix/*'
17
- '.github/workflows/**.yml'
18
branches: [master]
19
@@ -32,4 +34,13 @@ jobs:
32
34
- uses: actions/checkout@v3
33
35
- uses: cachix/install-nix-action@v22
36
- uses: DeterminateSystems/magic-nix-cache-action@v2
- - run: nix build .#${{ matrix.derivation }} --print-build-logs
37
+ - run: nix build .#${{ matrix.derivation }} --print-build-logs
38
+
39
+ nix-shell:
40
+ name: "Test building inside a nix shell"
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - uses: actions/checkout@v3
44
+ - uses: cachix/install-nix-action@v22
45
+ - uses: DeterminateSystems/magic-nix-cache-action@v2
46
+ - run: nix develop -Lv -c bash -c "cabal build"
0 commit comments