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

CI: fix rust formatting #18328

Merged
merged 7 commits into from
Dec 20, 2024
Merged

CI: fix rust formatting #18328

merged 7 commits into from
Dec 20, 2024

Conversation

redsun82
Copy link
Contributor

@redsun82 redsun82 commented Dec 19, 2024

cargo fmt --all should be avoided in non-rust extractor CI checks 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.

`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 Copilot bot review requested due to automatic review settings December 19, 2024 11:05
@redsun82 redsun82 requested review from a team as code owners December 19, 2024 11:05
Copy link
Contributor

@Copilot Copilot AI left a 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

.github/workflows/rust.yml Outdated Show resolved Hide resolved
.github/workflows/rust.yml Outdated Show resolved Hide resolved
@github-actions github-actions bot added the Rust Pull requests that update Rust code label Dec 19, 2024
@redsun82 redsun82 requested a review from hvitved December 20, 2024 09:42
Copy link
Contributor

@aibaars aibaars left a 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!

@aibaars aibaars merged commit 2b2a373 into main Dec 20, 2024
28 checks passed
@aibaars aibaars deleted the redsun82/fix-cargo-fmt-checks branch December 20, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QL-for-QL Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants