githedgehog / dataplane

The hedgehog dataplane
Apache License 2.0
2 stars 1 forks source link

ci: Add workflow to ensure Rust code is consistently formatted #95

Closed qmonnet closed 1 week ago

qmonnet commented 1 week ago

Rather than leaving formatting decisions up to every developer, enforce them consistently with rustfmt. To do so, add a workflow that checks that the code has been properly formatted, with "cargo fmt --check".

The objective of creating this workflow early, while there are few formatting reports to address, is to avoid having a huge commit at a later time to fix formatting throughout the repository.

qmonnet commented 1 week ago

[Hold off until #92 is complete]