build: check clippy and cargo fmt during github actions checks #1776
Labels
area/core
Issues core to the OS (variant independent)
good first issue
May be a good issue for new contributors
Milestone
What I'd like:
During GitHub actions CI, the build should fail (preferably early) if the code is not fmt'ed with cargo fmt and if it has cargo clippy warnings.
We probably wouldn't want this to happen as part of the RPM build process. Instead this would probably be more like what we do now with
cargo test
. The downside is that a mismatch between the version of cargo in the build runners and a developer's local version of cargo could cause a mismatch in clippy lints (less likely that a fmt mismatch would occur).Any alternatives you've considered:
The text was updated successfully, but these errors were encountered: