mirror of
https://github.com/irssi/irssi.git
synced 2024-06-16 06:25:24 +00: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:
|
||||
|
|
||||
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
|
||||
if: failure()
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user