cpp-linter / cpp-linter-action

A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of file-annotations, thread-comments, workflow step-summary, and Pull Request reviews.

Home Page:https://cpp-linter.github.io/cpp-linter-action/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify "Build path" (`-p`) for .clang-tidy?

satelllte opened this issue Β· comments

commented

Hi πŸ‘‹
First of all, thanks for this amazing GitHub Action!

Question:
How to pass -p build CLI option into clang-tidy CLI?

Its the input option named database.

commented

Sorry, just figured it out that there's database option:

with:
  database: 'build'

Thanks for such quick answer !

Closing this issue ...