Skip to content

Commit b7d2bd6

Browse files
[Github] Bump clang-format to 21.1.0 (#155660)
This patch bumps the clang-format version in the pr-code-format action to the latest release version, in line with how we have handled this before.
1 parent 13c3290 commit b7d2bd6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr-code-format.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,13 @@ jobs:
5252
echo "Formatting files:"
5353
echo "$CHANGED_FILES"
5454
55+
# The clang format version should always be upgraded to the first version
56+
# of a release cycle (x.1.0) or the last version of a release cycle, or
57+
# if there have been relevant clang-format backports.
5558
- name: Install clang-format
5659
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
5760
with:
58-
clangformat: 20.1.8
61+
clangformat: 21.1.0
5962

6063
- name: Setup Python env
6164
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0

0 commit comments

Comments
 (0)