Skip to content

Commit

Permalink
fix(CI/CD):clang-format check storage/tianmu
Browse files Browse the repository at this point in the history
  • Loading branch information
zsp108 authored and mergify[bot] committed Oct 9, 2022
1 parent 888d9c9 commit 7ef315d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/compile-mtr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
command -v clang-format-10 > /dev/null || (apt-get update && apt-get install -y clang-format-10)
- name: Format check
run: |
git diff -U0 --no-color ${{ github.event.pull_request.base.sha }} HEAD | /usr/share/clang/clang-format-10/clang-format-diff.py -p1 | tee /tmp/.clang-format-diff
git diff -U0 --no-color ${{ github.event.pull_request.base.sha }} HEAD storage/tianmu/* | /usr/share/clang/clang-format-10/clang-format-diff.py -p1 | tee /tmp/.clang-format-diff
[ -s /tmp/.clang-format-diff ] && exit 1 || true
stonedb-build:
Expand Down

0 comments on commit 7ef315d

Please sign in to comment.