neg-c/cmake-format lint

Github Action that check if code is formatted correctly using cmake-format

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Stalelast commit Dec 1, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: neg-c/cmake-format-action@ba83660ac46d64c12ca96f39478dcde7680a52bf # v0.1.3

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

namedescriptionrequireddefault
sourceSource file/folder to check formatting or directoryPathno.
excludeFolders to exclude from formatting checknonone
configUse .cmake-format stylenofalse
inplaceJust fix files (`cmake-format -i`) instead of returning a diffnofalse

no outputs