mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -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:
|
||||
|
|
||||
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…
x
Reference in New Issue
Block a user