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

Add rustfmt check to CI #172

Merged
merged 4 commits into from
May 14, 2024
Merged

Add rustfmt check to CI #172

merged 4 commits into from
May 14, 2024

Conversation

lqd
Copy link
Member

@lqd lqd commented May 14, 2024

This PR adds a rustfmt step to CI, and reformats everything to make it pass.

Fixes #170

I've also removed some default rustup components, as they are currently unused and slow down CI and local toolchain installs, e.g. unpacking all the documentation.

(This also updates a CI action triggering deprecation warnings, but the other one the repo uses is also deprecated and triggers warnings).

@lqd
Copy link
Member Author

lqd commented May 14, 2024

CI failed as expected for the temporary commit. I'll rebase it away and this should be ready.

@lqd lqd force-pushed the rustfmt branch 5 times, most recently from 12942a3 to 70383b2 Compare May 14, 2024 10:48
lqd added 3 commits May 14, 2024 10:56
In particular this should speed up the slowest builder (windows), by avoiding all
rust docs being installed by rustup.

It will also speed up local installs ofc.
@lqd lqd marked this pull request as ready for review May 14, 2024 10:59
@compiler-errors
Copy link
Member

You're a wizard 🧙

@compiler-errors compiler-errors merged commit c25146e into rust-lang:main May 14, 2024
3 checks passed
@lqd lqd deleted the rustfmt branch May 14, 2024 13:23
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 this pull request may close these issues.

add rustfmt to CI
2 participants