Skip to content

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

Notifications You must be signed in to change notification settings

ArtificialAmateur/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

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Example of usage:

name: c-linter

on: [pull_request]
jobs:
  c-linter:
    name: c-linter
    runs-on: ubuntu-latest
    steps:
      - name: c-linter
        uses: ArtificialAmateur/cpp-linter-action@master
    env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 75.6%
  • Dockerfile 24.4%