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
This branch is 12 commits ahead of smay1613/cpp-linter-action:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4348398 · Mar 14, 2022

History

39 Commits
Jul 19, 2019
Feb 10, 2020
Apr 24, 2020
Feb 10, 2020
Mar 14, 2022

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%