Skip to content

Use cargo xtask fmt --check in CI #1198

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

Closed
nicholasbishop opened this issue Jun 10, 2024 · 0 comments · Fixed by #1348
Closed

Use cargo xtask fmt --check in CI #1198

nicholasbishop opened this issue Jun 10, 2024 · 0 comments · Fixed by #1348

Comments

@nicholasbishop
Copy link
Member

In #1196, it was noticed that some files aren't formatted in the way cargo xtask fmt would have done it. This happened even though we check formatting in CI, and the reason is that in CI we are running cargo fmt --all -- --check instead of cargo xtask fmt --check, which adds additional args.

cargo fmt --all -- --check

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 a pull request may close this issue.

1 participant