Skip to content

Commit be3fc1a

Browse files
committed
Set clang-format version explicitly
1 parent 096f08b commit be3fc1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/c++-code-formatting.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
clang-format /usr/bin/clang-format-20 100
5252
sudo update-alternatives --install /usr/bin/git-clang-format \
5353
git-clang-format /usr/bin/git-clang-format-20 100
54+
sudo update-alternatives --set clang-format /usr/bin/clang-format-20
55+
sudo update-alternatives --set git-clang-format /usr/bin/git-clang-format-20
5456
5557
# We need to fetch the PR's head commit to base our cleanup commit on.
5658
- name: Fetch PR branch

0 commit comments

Comments
 (0)