nix: lock crane; don't store the test run's target folder
ci / check (push) Successful in 39s

This commit is contained in:
Sausage Agent
2026-10-17 08:02:08 +00:00
parent 81daddfd70
commit f008d0cc60
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -84,6 +84,8 @@
checks.tests = craneLib.cargoTest (common // {
inherit cargoArtifacts;
cargoExtraArgs = "--locked ${testPackages}";
# Nothing builds on the test run's target folder: don't store it.
doInstallCargoArtifacts = false;
preCheck = ''
# Its own lock file pins crates that the vendored set may lack.
rm -f cli/tests/actors/toolbox/Cargo.lock