Skip to content
play

GitHub Action

clang-tidy-action

v1.0 Latest version

clang-tidy-action

play

clang-tidy-action

Exports clang-tidy diagnostics to inline comments

Installation

Copy and paste the following snippet into your .yml file.

              

- name: clang-tidy-action

uses: asarium/clang-tidy-action@v1.0

Learn more about this action in asarium/clang-tidy-action

Choose a version

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