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:
Alejandro Angulo 2023-02-12 11:06:41 -08:00
parent a73239d2cf
commit 65834d0ff6
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 3 additions and 0 deletions

View file

@ -10,3 +10,4 @@ jobs:
- uses: cachix/install-nix-action@v19 - uses: cachix/install-nix-action@v19
- run: nix build - run: nix build
- run: nix flake check - run: nix flake check
- run: nix run

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# Following variables are set via sed in the buildPhase step # Following variables are set via sed in the buildPhase step
PREFIX="" PREFIX=""
# Intentionally overriding PATH so supressing shellcheck # Intentionally overriding PATH so supressing shellcheck