Run nix flake check in CI #9
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/agentboard!9
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-nix-flake-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a
nixjob to the Test workflow so a change that breaks the flake fails CI instead of going unnoticed.nix flake checkbuilds the package, runs its tests in the Nix sandbox and boots the NixOS module test (nix/test.nix) in a VM.Builds are kept in the GitHub Actions cache through Magic Nix Cache: no secrets, and pull requests from forks use it too. Everything else comes from cache.nixos.org.
The flake is healthy on current
main: the package builds on aarch64-darwin, and the full check passes on x86_64-linux.🤖 Generated with Claude Code
Thanks a lot, Yakov! This is a really nice addition: with the flake and the NixOS module tested on every PR, they can't quietly break anymore, and the VM test running in under two minutes with Magic Nix Cache is great. Merging 🙏