Skip to content

thompsonja/cpplint-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cpplint

GitHub Workflow Action to run cpplint

Optional Inputs:

  • extensions: c++ extensions to pass to cpplint, as a comma separated string
  • headers: c++ header types to pass to cpplint, as a comma separated string
  • filter: filter to pass to cpplint, defaults to all checks
  • excludes: excludes to pass to cpplint, as a comma separated string

Examples

Simple example, ignore copyright warnings

uses: thompsonja/cpplint-action@0.3.0
with:
  headers: "h,hpp"
  extensions: "c,cpp,cc,h,hpp"
  filter: "-legal/copyright"

Ignore files in third_party

uses: "thompsonja/cpplint-action@0.3.0"
with:
  headers: "h,hpp"
  extensions: "c,cpp,cc,h,hpp"
  excludes: "third_party/*"

About

Runs cpplint on a codebase

Resources

Stars

Watchers

Forks

Packages

No packages published