-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI action that reports clang-tidy warnings as review comments. #1658
base: main
Are you sure you want to change the base?
Add CI action that reports clang-tidy warnings as review comments. #1658
Conversation
400322a
to
7295f9c
Compare
@proppy I am trying to get this (Note, currently the action is https://github.com/hzeller/clang-tidy-pr-comments which is just a fork from the original https://github.com/platisd/clang-tidy-pr-comments for easier debugging). |
#xls-build-gardener
7295f9c
to
66e3c20
Compare
@hzeller do you get the same error when running it on your fork? https://github.com/hzeller/clang-tidy-pr-comments That would help us to rules out project specific configuration issues. |
git diff -U1000 "$(git merge-base HEAD review-base/${{ github.event.pull_request.base.ref }})" | xls/dev_tools/run-clang-tidy-diff.sh -p1 -path build -export-fixes clang-tidy-result/fixes.yml | ||
|
||
- name: Run clang-tidy-pr-comments action | ||
uses: hzeller/clang-tidy-pr-comments@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, I am using my fork here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I meant: when using the action on your xls fork (not a fork of the action).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I see. I did not try that as my personal github does not have access to hi-umpf runners (just building the compilation DB takes more than 30min before I gave up)
#xls-build-gardener