zehmatt/clang-tidy-annotations

Run clang-tidy on your code and annotates the PR with the results

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenAuthentication token.yes${{ github.token }}
source_dirDirectory containing the source files.yes.
build_dirThe directory where CMake generated the build (-B). In case compile_commands.json was not found this will bethe directory passed to CMake.yes.
file_filterA list of file extensions, files that do not match the filter will not be passed to clang-tidy.yescpp,h,hpp,c,cc,cxx,hxx
only_affected_linesOnly annotates lines that were changed in the PR.notrue
cmake_argsIn case compile_commands.json was not found in the build directory it will invoke CMake, this should have all the required CMake arguments.no""
clang_tidy_argsAdditional clang-tidy arguments.no""
clang_tidy_filePath to .clang-tidy file.yes.clang-tidy
warnings_as_errorsTreats all warnings as errors.notrue
fail_on_problemsFail the action if there are any problems found by clang-tidy.notrue

no outputs