Skip to content

A GitHub action to automatically execute a Clang Tidy and Cppcheck linters on C/C++ files changed in a pull request.

Notifications You must be signed in to change notification settings

smay1613/cpp-linter-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github action for linting the C++ code. Uses clang-tidy and cppcheck.

Example of usage:

name: lint

on: [pull_request]
jobs:
  clang-tidy:
    name: clang-tidy
    runs-on: ubuntu-latest
    steps:
      - name: clang-tidy check
        uses: smay1613/clang-tidy-action@master
    env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

A GitHub action to automatically execute a Clang Tidy and Cppcheck linters on C/C++ files changed in a pull request.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 72.6%
  • Dockerfile 27.4%