Skip to content

to-s/github-action-cpp-lint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C++ Lint Action

GitHub action that runs cpplint.

Usage

Run lint with default setting:

workflow "C++ Lint" {
  on = "push"
  resolves = ["lint-action"]
}

action "lint-action" {
  uses = "CyberZHG@github-action-python-lint@master"
}

Add arguments:

workflow "C++ Lint" {
  on = "push"
  resolves = ["lint-action"]
}

action "lint-action" {
  uses = "CyberZHG/github-action-cpp-lint@master"
  args = "--linelength=120 --filter=-build/include_subdir include/*.h src/*.cpp tests/*.cpp"
}

About

GitHub action that runs cpplint

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 58.7%
  • Shell 41.3%