File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
echo " Pull request's base branch is: ${BASE_BRANCH} "
8
8
echo " Pull request's merge branch is: ${MERGE_BRANCH} "
9
9
echo " Pull request's source branch is: ${GITHUB_HEAD_REF} "
10
- clang-format-10 --version
10
+ clang-format-11 --version
11
11
12
12
# The checkout action leaves us in detatched head state. The following line
13
13
# names the checked out commit, for simpler reference later.
@@ -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-10 $MERGE_BASE -- $EXCLUDES
29
+ eval git-clang-format --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 @@ -611,8 +611,8 @@ jobs:
611
611
DEBIAN_FRONTEND : noninteractive
612
612
run : |
613
613
sudo apt-get update
614
- sudo apt-get install --no-install-recommends -yq clang-format
615
- - name : Check updated lines of code match clang-format-10 style
614
+ sudo apt-get install --no-install-recommends -yq clang-format-11
615
+ - name : Check updated lines of code match clang-format-11 style
616
616
env :
617
617
BASE_BRANCH : ${{ github.base_ref }}
618
618
MERGE_BRANCH : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments