Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

CyberZHG/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"
}