# GitHub Action to run cpplint recursively on all pushes and pull requests # https://github.com/cpplint/GitHub-Action-for-cpplint name: cpplint on: [push, pull_request] jobs: cpplint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - run: pip install cpplint - run: cpplint --counting=detailed --filter=-build/namespaces,-legal,-readability,-runtime,-whitespace --recursive .