File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2727 run : |
2828 sudo apt update
2929 python ./tests/test_restyle.py --quiet
30- bash ./tests/ci/style_check.sh
30+ env CLANG_FORMAT="clang-format-18" bash ./tests/ci/style_check.sh
3131
3232 # Validate orthography
3333
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ test -d ${root}/cores/esp8266
88test -d ${root} /libraries
99
1010# allow `env CLANG_FORMAT=clang-format-N`, or some other version
11- # default to v15, latest stable version from ubuntu-latest Github Actions image
12- CLANG_FORMAT=${CLANG_FORMAT:- clang-format-15}
11+ CLANG_FORMAT=${CLANG_FORMAT:- clang-format}
1312
1413cd $root
1514python $root /tests/restyle.py format --clang-format=$CLANG_FORMAT preset --include core --include arduino
You can’t perform that action at this time.
0 commit comments