Skip to content

C/C++ code linter (clang-tidy, clang-format, and cppcheck)

Actions
Automatically checks pull requests changes with clang-tidy, clang-format, and cppcheck and posts the comment with result
0.01
LatestPre-release
Star (5)

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 }}

C/C++ code linter (clang-tidy, clang-format, and cppcheck) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automatically checks pull requests changes with clang-tidy, clang-format, and cppcheck and posts the comment with result
0.01
LatestPre-release

C/C++ code linter (clang-tidy, clang-format, and cppcheck) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.