File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 command : |
1414 set -o xtrace
1515 curl -sSL "http://apt.llvm.org/llvm-snapshot.gpg.key" | sudo -E apt-key add -
16- echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" | sudo tee -a /etc/apt/sources.list > /dev/null
16+ echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-15 main" | sudo tee -a /etc/apt/sources.list > /dev/null
1717 sudo -E apt-get -yq update >> ~/apt-get-update.log 2>&1
18- sudo -E apt-get -yq --no-install-suggests --no-install-recommends install clang-format-10
19- git diff -U0 --no-color HEAD^1 *.c *.cc *.cpp *.h *.hpp *.i *.ic *.ih | clang-format-diff-10 -style=file -p1 >_GIT_DIFF
18+ sudo -E apt-get -yq --no-install-suggests --no-install-recommends install clang-format-15
19+ git diff -U0 --no-color HEAD^1 *.c *.cc *.cpp *.h *.hpp *.i *.ic *.ih | clang-format-diff-15 -style=file -p1 >_GIT_DIFF
2020 if [ ! -s _GIT_DIFF ]; then
2121 echo The last git commit is clang-formatted;
2222 else
You can’t perform that action at this time.
0 commit comments