emmett2020/cpp-lint-action

cpp-lint-action is a tool used to check C++ code quality in Github workflow.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Apr 8, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: emmett2020/cpp-lint-action@f9718ba260b1e693659cb3be84135bef1c8a6360 # v1.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
log-levelSet the log verbose level of cpp-lint-action. Supports: [trace, debug, info, error] info
target-revisionSet the target revision of git repository. It usually is the default branch you want to be merged into. If you omit this option, cpp-lint-action will automatically detect this.
enable-comment-on-issueWhether enable comment on Github issuestrue
enable-pull-request-reviewWhether enable Github pull-request review commentfalse
enable-step-summaryWhether enable write step summary to Github actiontrue
enable-action-outputWhether enable write output to Github actiontrue
disable-errorsWhether disable errors. If errors are disabled, this action will not be failed. You can use this action's output to customize later behavior. false
enable-clang-formatEnable clang-format checktrue
enable-clang-format-fastly-exitEnabel clang-format fastly exit. This means cpp-lint-action will stop clang-format as soon as first file error occurs false
clang-format-versionSet the version of clang-format. Don't specify both this option and the clang-format-binary option to avoid ambigous. And the clang-format-${version} must exist in your $PATH
clang-format-binarySet the full path of clang-format executable binary. Don't spefify both this option and the clang-format-version option to avoid ambigous
clang-format-file-iregexSet the source file filter for clang-format.
enable-clang-tidyEnable clang-tidy checktrue
enable-clang-tidy-fastly-exitEnabel clang-tidy fastly exit. This means cpp-lint-action will stop clang-tidy as soon as first file error occurs false
clang-tidy-versionSet the version of clang-tidy. Don't specify both this option and the clang-tidy-binary option to avoid ambigous. And the clang-tidy-${version} must exist in your $PATH
clang-tidy-binarySet the full path of clang-tidy executable binary. Don't spefify both this option and the clang-tidy-version option to avoid ambigous
clang-tidy-file-iregexSet the source file filter for clang-tidy.
clang-tidy-databaseSame as clang-tidy -p option
clang-tidy-allow-no-checksEnabel clang-tidy allow_no_check optionfalse
clang-tidy-enable-check-profileEnabel clang-tidy enable_check_profile optionfalse
clang-tidy-checksSame as clang-tidy checks option
clang-tidy-configSame as clang-tidy config option
clang-tidy-config-fileSame as clang-tidy config-file option
clang-tidy-header-filterSame as clang-tidy header-filter option
clang-tidy-line-filterSame as clang-tidy line-filter option
namedescription
clang-tidy-failed-numberAn integer of how many file fails on clang-tidy check
clang-format-failed-numberAn integer of how many file fails on clang-format check