Add Rust format checker to CI
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 --checkas a step to CI and let the action fail if it exits with non-0 - apply proper formatting to the complete repository
@pendulum-chain/product this is to keep the code base healthy and to make code reviews more straight forward.
Hey team! Please add your planning poker estimate with Zenhub @b-yap @bogdanS98 @ebma @gianfra-t
@pendulum-chain/devs should i move this to icebox or good to have?
I would vote to icebox it for now.
Yes, let's icebox it.