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:
ryan4yin | 二花 authored and GitHub committed 2026-10-07 14:57:34 +08:00
1 parent 5f6a1dadf4
commit b79c5807ae
4 files changed
+51 -8

No files matched your search

+6
View File
@@ -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: