-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
CI: fix rust formatting #18328
CI: fix rust formatting #18328
Conversation
`cargo fmt --all` should be avoided in CI as that will include `rust/ast-generator` which has sources provided by bazel (`bazel run //rust/ast-generator:inject_sources` can provide those sources in-tree). Now the formatting checks are limited to the sources that trigger the jobs, and a check is added to `rust/ast-generator`.
Copilot
AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
Tip: Leave feedback on Copilot's review comments with the 👎 and 👍 buttons to help improve review quality. Learn more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
cargo fmt --all
should be avoided in non-rust extractor CI checks as that will includerust/ast-generator
which has sources provided by bazel (bazel run //rust/ast-generator:inject_sources
can provide those sources in-tree).Now the formatting checks are limited to the sources that trigger the jobs, and a check is added to
rust/ast-generator
.