Skip to content

Commit 13df8d4

Browse files
authored
chore(ci): enforce compliance with cargo fmt (#2467)
1 parent b1b45b5 commit 13df8d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

flake.nix

+7
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,13 @@
238238
cargoArtifacts = native-cargo-artifacts;
239239
});
240240

241+
cargo-fmt = craneLib.cargoFmt (nativeArgs // {
242+
inherit GIT_COMMIT GIT_DIRTY;
243+
244+
cargoArtifacts = native-cargo-artifacts;
245+
doCheck = true;
246+
});
247+
241248
cargo-test = craneLib.cargoTest (nativeArgs // (testArgs 8000) // {
242249
inherit GIT_COMMIT GIT_DIRTY;
243250

0 commit comments

Comments
 (0)