Skip to content

update clang-format-review workflow #18

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

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Conversation

rsore
Copy link
Owner

@rsore rsore commented Sep 1, 2024

Workflow was not working properly before. This development branch solves two things:

  1. It actually makes the clang-tidy analysis work. I don't know exactly what went wrong before, but I had trouble getting the cmake_command option for ZedThree/clang-tidy-review working. So now we instead use lukka/run-cmake to actually generate the compile_commands.json file, and then use ZedThree/clang-tidy-review strictly for running clang-tidy and generating reviews.

  2. The act of analysing the code and posting a review has been split up into two separate workflows. According to the documentation of ZedThree/clang-tidy-review, this should work better for public repositories where users might create pull requests from their own forks of the repo.

@rsore rsore added the improvement Improvement to existing feature label Sep 1, 2024
@rsore rsore merged commit 1f8797f into main Sep 1, 2024
7 checks passed
@rsore rsore deleted the update-clang-tidy-workflow branch September 1, 2024 16:47
rsore added a commit that referenced this pull request Oct 20, 2024
update clang-format-review workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement to existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant