File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ echo "Checking for formatting errors introduced since $MERGE_BASE"
2626
2727# Do the checking. "eval" is used so that quotes (as inserted into $EXCLUDES
2828# above) are not interpreted as parts of file names.
29- eval git-clang-format --binary clang-format-11 $MERGE_BASE -- $EXCLUDES
29+ eval git-clang-format-11 --binary clang-format-11 $MERGE_BASE -- $EXCLUDES
3030git diff > formatted.diff
3131if [[ -s formatted.diff ]] ; then
3232 echo ' Formatting error! The following diff shows the required changes'
Original file line number Diff line number Diff line change @@ -612,9 +612,6 @@ 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
618615 - name : Check updated lines of code match clang-format-11 style
619616 env :
620617 BASE_BRANCH : ${{ github.base_ref }}
You can’t perform that action at this time.
0 commit comments