Skip to content

ci: update clang format version#5661

Merged
CarolYeh910 merged 2 commits intoaws:mainfrom
CarolYeh910:update-clang-format
Dec 11, 2025
Merged

ci: update clang format version#5661
CarolYeh910 merged 2 commits intoaws:mainfrom
CarolYeh910:update-clang-format

Conversation

@CarolYeh910
Copy link
Copy Markdown
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
Copy Markdown
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
@CarolYeh910 CarolYeh910 added this pull request to the merge queue Dec 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 11, 2025
@CarolYeh910 CarolYeh910 added this pull request to the merge queue Dec 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 11, 2025
@CarolYeh910 CarolYeh910 added this pull request to the merge queue Dec 11, 2025
Merged via the queue into aws:main with commit a7bdb88 Dec 11, 2025
55 checks passed
@CarolYeh910 CarolYeh910 deleted the update-clang-format branch December 11, 2025 19:10
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