Skip to content

Commit

Permalink
chore(ci): enforce compliance with cargo fmt (#2467)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 29, 2023
1 parent b1b45b5 commit 13df8d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@
cargoArtifacts = native-cargo-artifacts;
});

cargo-fmt = craneLib.cargoFmt (nativeArgs // {
inherit GIT_COMMIT GIT_DIRTY;

cargoArtifacts = native-cargo-artifacts;
doCheck = true;
});

cargo-test = craneLib.cargoTest (nativeArgs // (testArgs 8000) // {
inherit GIT_COMMIT GIT_DIRTY;

Expand Down

0 comments on commit 13df8d4

Please sign in to comment.