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"
26
26
27
27
# Do the checking. "eval" is used so that quotes (as inserted into $EXCLUDES
28
28
# 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
30
30
git diff > formatted.diff
31
31
if [[ -s formatted.diff ]] ; then
32
32
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:
612
612
run : |
613
613
sudo apt-get update
614
614
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
618
615
- name : Check updated lines of code match clang-format-11 style
619
616
env :
620
617
BASE_BRANCH : ${{ github.base_ref }}
You can’t perform that action at this time.
0 commit comments