neg-c/cmake-format lint
Github Action that check if code is formatted correctly using cmake-format
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Stalelast commit Dec 1, 2024
- License
- MIT
Pinned Snippet
uses: neg-c/cmake-format-action@ba83660ac46d64c12ca96f39478dcde7680a52bf # v0.1.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| source | Source file/folder to check formatting or directoryPath | no | . |
| exclude | Folders to exclude from formatting check | no | none |
| config | Use .cmake-format style | no | false |
| inplace | Just fix files (`cmake-format -i`) instead of returning a diff | no | false |
Outputs
no outputs