Run the flake as part of CI
The update to the build script makes it so that the entire script exits when a failure is encountered (and returns with that exit code).
This commit is contained in:
parent
a73239d2cf
commit
65834d0ff6
2 changed files with 3 additions and 0 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -10,3 +10,4 @@ jobs:
|
|||
- uses: cachix/install-nix-action@v19
|
||||
- run: nix build
|
||||
- run: nix flake check
|
||||
- run: nix run
|
||||
|
|
2
build.sh
2
build.sh
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
# Following variables are set via sed in the buildPhase step
|
||||
PREFIX=""
|
||||
# Intentionally overriding PATH so supressing shellcheck
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue