pid-rs
pid-rs copied to clipboard
Update build job to check code for linting and formatting problems
This PR adds some additional check to the build job in the Rust workflow
Motivation
-
Check and Clippy: These steps help protect us against well-known bad coding practices.
-
Format: Consistently formatted code makes for cleaner diffs and easier merging of code.
Autofix
These commands can be used to automatically fix some warnings and errors:
cargo fmt
cargo clippy --fix
Changes
-
Add steps Check, Format, and Clippy to build job in Rust workflow
-
Rename build step from "Run tests" to "Test" to align with the other steps
I'll have a look over tomorrow :) been busy with work