ci: try adding flake lock health check

This commit is contained in:
Ryan Mulligan 2023-05-25 07:55:48 -07:00
parent db5637d10f
commit c19bf8ad97

View file

@ -14,6 +14,15 @@ jobs:
- run: nix build .#doc - run: nix build .#doc
- run: nix fmt . -- --check - run: nix fmt . -- --check
- run: nix flake check - run: nix flake check
- name: "Flake.lock health check"
shell: bash
run: |
(
set -eu
curl --max-time 2 --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/flake-checker/stable/$RUNNER_ARCH-$RUNNER_OS > "$RUNNER_TEMP/flake-checker"
chmod +x "$RUNNER_TEMP/flake-checker"
"$RUNNER_TEMP/flake-checker"
) || true
tests-darwin: tests-darwin:
runs-on: macos-11 runs-on: macos-11
steps: steps: