Closed Techcable closed 2 years ago
@dpc Just to be clear, you're okay if I change GH actions to run this by default? It's just cargo fmt -- --check
, no automatic changes.
:+1:
Okay! The new GH actions rustfmt check works properly!
I intentionally created a formatting problem and GH actions caught it :)
All the changes here are automatic (except for this message).
Right now my Github Actions (slog-rs#295) has 'cargo fmt -- --check' always succeed (showing a green checkmark) even if there are formatting errors.
With your permission, I would like to enable
rustfmt
by default for Github actions.This means that it would show a red checkmark and "fail" if there are formatting errors (as opposed to always succeeding ).
It's separate from the main "test" workflow, so it would not be required for PRs to merge, it would just show a warning.
I'm marking this as a Draft because:
rustfmt
action by default.