mirror of
https://github.com/irssi/irssi.git
synced 2025-04-26 04:51:11 -05:00
Merge pull request #1173 from ailin-nemui/clangformat
Fix clang-format checker on empty diff
This commit is contained in:
commit
6d67cadcdb
2
.github/workflows/clangformat.yml
vendored
2
.github/workflows/clangformat.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
|
|
|
|
||||||
git-clang-format-9 --diff FETCH_HEAD HEAD | tee git-clang-format.diff
|
git-clang-format-9 --diff FETCH_HEAD HEAD | tee git-clang-format.diff
|
||||||
cmp -s <(echo no modified files to format) git-clang-format.diff
|
cmp -s <(echo no modified files to format) git-clang-format.diff || cmp -s <(echo -n) git-clang-format.diff
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user