Skip to content

Commit 0f5469e

Browse files
committed
try revert to clang-format-12
1 parent 9bd1da1 commit 0f5469e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
sudo apt update
5454
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
5656
5757
- name: Static analysis
5858
working-directory: ${{github.workspace}}/stm32/libcanard/bxcan/
@@ -61,6 +61,6 @@ jobs:
6161
- name: Format check
6262
working-directory: ${{github.workspace}}/stm32/libcanard/bxcan/
6363
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]
6565
modified="$(git status --porcelain --untracked-files=no)"
6666
if [ -n "$modified" ]; then echo "Please format code properly."; exit 1; fi

stm32/libcanard/.clang-tidy

-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ CheckOptions:
2323
value: '99'
2424
WarningsAsErrors: '*'
2525
HeaderFilterRegex: '.*'
26-
AnalyzeTemporaryDtors: false
2726
FormatStyle: file
2827
...

0 commit comments

Comments
 (0)