actions-marketplace-validations/cmake-format lint action
A GitHub Action to format CMake-specific files using cmake-format (v0.6.13)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Feb 5, 2025
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/puneetmatharu_cmake-format-lint-action@960ee17edd4678e2793d49b96ae7608a91a78a5a # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| args | Arguments to supply to cmake-format. Options: -h, --help show this help message and exit -v, --version show program's version number and exit -l {error,warning,info,debug}, --log-level {error,warning,info,debug} --dump-config [{yaml,json,python}] If specified, print the default configuration to stdout and exit --dump {lex,parse,parsedb,layout,markup} --no-help When used with --dump-config, will omit helptext comments in the output --no-default When used with --dump-config, will omit any unmodified configuration value. -i, --in-place --check Exit with status code 0 if formatting would not change file contents, or status code 1 if it would -o OUTFILE_PATH, --outfile-path OUTFILE_PATH Where to write the formatted file. Default is stdout. -c CONFIG_FILES [CONFIG_FILES ...], --config-files CONFIG_FILES [CONFIG_FILES ...] path to configuration file(s) | yes | --help |
| file-regex | Regex to select which files to apply cmake-format on. Defaults to '(.*\.cmake$|CMakeLists.txt$)' | no | (.*\.cmake$|CMakeLists.txt$) |
Outputs
no outputs