We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a65704 commit dc9375dCopy full SHA for dc9375d
.github/workflows/clang-format.yml
@@ -18,7 +18,7 @@ jobs:
18
19
- name: Run clang-format for the patch
20
run: |
21
- git diff -U0 --no-color ${GITHUB_SHA}^1 ${GITHUB_SHA} -- | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-9 > ./clang-format.patch
+ git diff --no-color ${GITHUB_SHA}^1 ${GITHUB_SHA} --name-only -- | grep -v "/test/" | xargs git diff -U0 --no-color ${GITHUB_SHA}^1 ${GITHUB_SHA} -- | ./clang/tools/clang-format/clang-format-diff.py -p1 -binary clang-format-9 > ./clang-format.patch
22
23
# Add patch with formatting fixes to CI job artifacts
24
- uses: actions/upload-artifact@v1
0 commit comments