Skip to content

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 AI 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 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-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.

3 participants