File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 52
52
run : |
53
53
sudo apt update
54
54
wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 18
55
- sudo apt install clang-tidy-18 clang-format-18
55
+ sudo apt install clang-tidy-18 clang-format-12
56
56
57
57
- name : Static analysis
58
58
working-directory : ${{github.workspace}}/stm32/libcanard/bxcan/
61
61
- name : Format check
62
62
working-directory : ${{github.workspace}}/stm32/libcanard/bxcan/
63
63
run : |
64
- clang-format-18 -i -fallback-style=none -style=file --verbose src/*.[ch]
64
+ clang-format-12 -i -fallback-style=none -style=file --verbose src/*.[ch]
65
65
modified="$(git status --porcelain --untracked-files=no)"
66
66
if [ -n "$modified" ]; then echo "Please format code properly."; exit 1; fi
Original file line number Diff line number Diff line change @@ -23,6 +23,5 @@ CheckOptions:
23
23
value : ' 99'
24
24
WarningsAsErrors : ' *'
25
25
HeaderFilterRegex : ' .*'
26
- AnalyzeTemporaryDtors : false
27
26
FormatStyle : file
28
27
...
You can’t perform that action at this time.
0 commit comments