Skip to content

Add Rust format checker to CI #477

@TorstenStueber

Description

@TorstenStueber

Currently the formatting of code in PRs is not checked and therefore we have a lot of improperly formatted code on main (e.g., the spacing around the / operator is missing here).

This leads to a situation where some PRs happen to be overly bloated as they happen to correct the formatting of some code files that might not even be related to the PR.

TODO

  • add cargo fmt --check as a step to CI and let the action fail if it exits with non-0
  • apply proper formatting to the complete repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions