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

Automate the use of rustfmt in github actions #77

Open
zackteo opened this issue Jul 1, 2020 · 4 comments
Open

Automate the use of rustfmt in github actions #77

zackteo opened this issue Jul 1, 2020 · 4 comments

Comments

@zackteo
Copy link
Contributor

zackteo commented Jul 1, 2020

Ensure formatting is kept consistent, automating that process. Not sure if there's a point to adding clippy into the mix too

@naomijub
Copy link
Contributor

Maybe this helps? #78

Github actions will fail if it code is not correctly formatted. You could add cargo-husky to prevent committing unformatted code example

@zackteo
Copy link
Contributor Author

zackteo commented Aug 28, 2020

Cool! Actually, do you know if rustfmt or clippy is the standard? :o

@naomijub
Copy link
Contributor

It is supposed to be rustfmt, but I don't know if they have merged as of now

@naomijub
Copy link
Contributor

Rust is a formatter while clippy is a linter:

I can apply clippy in a next PR as the project os too large to fix it all at once.

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

No branches or pull requests

2 participants