File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
SOURCES=$( find $( git rev-parse --show-toplevel) | egrep " \.(cpp|cc|c|h)\$ " )
4
4
5
- CLANG_FORMAT=$( which clang-format-12 )
5
+ CLANG_FORMAT=$( which clang-format-18 )
6
6
if [ $? -ne 0 ]; then
7
7
CLANG_FORMAT=$( which clang-format)
8
8
if [ $? -ne 0 ]; then
18
18
$CLANG_FORMAT ${file} > expected-format
19
19
diff -u -p --label=" ${file} " --label=" expected coding style" ${file} expected-format
20
20
done
21
- exit $( $CLANG_FORMAT --output-replacements-xml ${SOURCES} | egrep -c " </replacement>" )
21
+ exit $( $CLANG_FORMAT --output-replacements-xml ${SOURCES} | egrep -c " </replacement>" )
Original file line number Diff line number Diff line change 18
18
19
19
- name : coding convention
20
20
run : |
21
- sudo apt-get install -q -y clang-format-12
21
+ sudo apt-get install -q -y clang-format-18
22
22
sh .ci/check-format.sh
23
- shell : bash
23
+ shell : bash
You can’t perform that action at this time.
0 commit comments