Skip to content

Conversation

@CarolYeh910
Copy link
Contributor

@CarolYeh910 CarolYeh910 commented Dec 10, 2025

Goal

Move the clang format CI job off the old forked GHA and upgrade to a newer version

Why

I ran into a clang-format failure while working on #5657. My local branch did not catch the errors because it is using clang-format-18 while the CI job ran on an older version v15. The GHA harrisonkaiser/clang-format-action does not support versions above 15. Thus I attempted to replace it with the parent repo jidicula/clang-format-action that is more up-to-date and supports newer versions. Unfortunately, 3 other files failed the check of clang-format-18.

Given that getting off of custom forks is usually the best practice, this PR will deprecate the old GHA and bump the clang format version.

How

Replace the forked GHA with the parent repo, upgrade the clang-format version to 18, and fix the discovered errors.

Testing

CI should pass

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@dougch dougch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@boquan-fang boquan-fang added this pull request to the merge queue Dec 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2025
@boquan-fang boquan-fang added this pull request to the merge queue Dec 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants