Skip to content

A GitHub action that runs clang-tidy against changed code

License

Notifications You must be signed in to change notification settings

asarium/clang-tidy-action

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

Repository files navigation

clang-tidy-action

This action processes diagnostics produced by clang-tidy and outputs them so that they are displayed in-line for GitHub pull requests.

typescript-action status

Usage

Pre-requisites

This action only processes already existing fixes files so they have to be generated by a previous step in your workflow. This can be done, e.g. by clang-tidy-diff when using the -export-fixes parameter.

Inputs

  • fixesFile: Path to the file which was generated by clang-tidy

Example

- name: Process clang-tidy warnings
  uses: asarium/clang-tidy-action@v1
  with:
    fixesFile: clang-fixes.yaml