build: fail-fast pre-commit hooks for faster iteration

This commit is contained in:
Jon Seager 2026-02-12 15:30:57 +00:00
parent 67f218495f
commit f1548d7e7a
No known key found for this signature in database

View file

@ -181,6 +181,11 @@
package = config.treefmt.build.wrapper;
pass_filenames = false;
stages = [ "pre-commit" ];
fail_fast = true;
before = [
"clippy"
"cargo-test"
];
};
clippy = {
enable = true;
@ -190,6 +195,10 @@
clippy = rust;
};
settings.extraArgs = "--allow-dirty --fix";
fail_fast = true;
before = [
"cargo-test"
];
};
cargo-test = {
enable = true;