mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
ci: harden workflows and run the runtime firewall VM test (#398)
* ci: pin actions, scope tokens, run the runtime security VM test * test: add a just recipe for the runtime firewall VM test
This commit is contained in:
1 parent
5f6a1dadf4
commit
b79c5807ae
4 files changed
+51
-8
No files matched your search
@@ -23,6 +23,12 @@ default:
|
||||
test:
|
||||
let result = (nix eval .#evalTests --json --show-trace --print-build-logs --verbose | str trim); if $result != "true" { error make { msg: $"eval tests failed: evalTests returned ($result)" } }
|
||||
|
||||
# Build and run the runtime security VM test (needs /dev/kvm; not run by just test)
|
||||
[linux]
|
||||
[group('nix')]
|
||||
test-vm:
|
||||
nix build --no-link --print-build-logs .#checks.x86_64-linux.security-exporters
|
||||
|
||||
# Evaluate a NixOS host configuration without building it.
|
||||
[group('nix')]
|
||||
eval-host host:
|
||||
|
||||
Reference in new issue
Block a user