-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
1 addition
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,10 @@ jobs: | |
mkdir clang-tidy-result | ||
- name: Analyze | ||
run: | | ||
pwd && ls -alt | ||
/usr/bin/git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
/usr/bin/git diff -U0 HEAD^ | clang-tidy-diff-15.py -checks='-*,modernize-use-auto,modernize-use-using,modernize-use-nodiscard,modernize-use-nullptr,modernize-use-override,cppcoreguidelines-pro-type-static-cast-downcast' -p1 -path build -export-fixes clang-tidy-result/fixes.yml | ||
- name: Run clang-tidy-pr-comments action | ||
uses: platisd/[email protected] # >1.4.3 switches to compose and runs into below mentioned issue w/o great workarounds (needs to be fixed by them not us) | ||
#env: | ||
#LD_LIBRARY_PATH: /__w/_tool/Python/ # workaround for https://github.com/actions/setup-python/issues/871 ever since clang-tidy-pr-comments became composite w/ embedded python version req | ||
uses: platisd/[email protected] # >1.4.3 switches to composite method w/ a forced python version and breaks things: https://github.com/actions/setup-python/issues/871 | ||
with: | ||
# The GitHub token (or a personal access token) | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|