Skip to content

Commit b377779

Browse files
committed
Add installation of git-clang-format to clang-format job
1 parent 557d941 commit b377779

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,9 @@ jobs:
612612
run: |
613613
sudo apt-get update
614614
sudo apt-get install --no-install-recommends -yq clang-format-11
615+
wget -O git-clang-format https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-14.0.6/clang/tools/clang-format/git-clang-format
616+
chmod u+x git-clang-format
617+
mv git-clang-format /usr/local/bin
615618
- name: Check updated lines of code match clang-format-11 style
616619
env:
617620
BASE_BRANCH: ${{ github.base_ref }}

0 commit comments

Comments
 (0)