Skip to content
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

[NFC] Fix clang format automation after 68d618f90 #2218

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/check-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,7 @@ jobs:
id: run-clang-format
run: |
cat diff-to-inspect.txt | /usr/share/clang/clang-format-${{ env.LLVM_VERSION }}/clang-format-diff.py \
-p1 -binary clang-format-${{ env.LLVM_VERSION }} > clang-format.patch
if [ -s clang-format.patch ]; then
echo "clang-format found incorrectly formatted code:"
cat clang-format.patch;
exit 1;
else
rm clang-format.patch # to avoid uploading empty file
fi
-p1 -binary clang-format-${{ env.LLVM_VERSION }}

- name: Run clang-tidy
# By some reason, GitHub Actions automatically include "success()"
Expand Down