Skip to content

Comments

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

Merged
Owez merged 2 commits intobraincore:masterfrom
mtilda:add-lint-and-format-checks
Apr 29, 2025
Merged

Update build job to check code for linting and formatting problems#29
Owez merged 2 commits intobraincore:masterfrom
mtilda:add-lint-and-format-checks

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

@Owez Owez merged commit 05dc988 into braincore:master Apr 29, 2025
1 check passed
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