pid-rs icon indicating copy to clipboard operation
pid-rs copied to clipboard

Update build job to check code for linting and formatting problems

Open mtilda opened this issue 11 months ago • 1 comments

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

mtilda avatar Mar 27 '25 14:03 mtilda

I'll have a look over tomorrow :) been busy with work

Owez avatar Apr 02 '25 23:04 Owez