Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build job to check code for linting and formatting problems #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mtilda
Copy link
Collaborator

@mtilda mtilda commented Mar 27, 2025

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 mtilda requested a review from Owez April 2, 2025 22:43
@Owez
Copy link
Collaborator

Owez commented Apr 2, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants