File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 28
28
- name : Run static analysis (cppcheck)
29
29
run : |
30
30
cppcheck --std=c++11 --enable=performance,portability,information --quiet --error-exitcode=1 src/
31
- - name : Run static analysis (clang-tidy)
32
- run : bash run_clang-tidy.sh
31
+ - name : Run clang-tidy
32
+ run : |
33
+ run-clang-tidy-8 \
34
+ -p=test/build \
35
+ -j$(nproc) \
36
+ -header-filter=src/* \
37
+ files src/* \
38
+ -export-fixes clang-tidy-fixes.yaml
39
+ - name : Run clang-tidy-pr-comments action
40
+ uses : platisd/clang-tidy-pr-comments@master
41
+ with :
42
+ github_token : ${{ secrets.GITHUB_TOKEN }}
43
+ clang_tidy_fixes : clang-tidy-fixes.yaml
44
+ request_changes : true
33
45
- name : Get coverage report (only for GCC)
34
46
if : ${{ matrix.compiler.cc }} == 'gcc-10'
35
47
run : |
You can’t perform that action at this time.
0 commit comments