actions-marketplace-validations/clang-format Check
Use clang-format to see if your C/C++/Protobuf code is formatted according to project guidelines.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| clang-format-version | The major version of clang-format that you want to use. | no | 22 |
| check-path | The path to the directory you want to check for correct C/C++/Protobuf formatting. Default is the full repository. | no | . |
| exclude-regex | A regex to exclude files or directories that should not be checked. Default is empty. | no | "" |
| fallback-style | The fallback style for clang-format if no .clang-format file exists in your repository. | no | llvm |
| include-regex | A regex to override the C/C++/Protobuf/CUDA filetype regex. that should be checked. Default results in the regex defined in `check.sh`. | no | "" |
Outputs
no outputs