mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
ci(uncrustify): show diff on failure #18780
This will make it possible to see what needs to be fixed without having uncrustify installed locally.
This commit is contained in:
parent
772ae3e656
commit
f31a10204c
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -120,7 +120,8 @@ jobs:
|
||||
- if: "!cancelled()"
|
||||
name: uncrustify
|
||||
run: |
|
||||
${{ env.CACHE_UNCRUSTIFY }} -c ./src/uncrustify.cfg -q --check $(find ./src/nvim -name "*.[ch]") >/dev/null
|
||||
${{ env.CACHE_UNCRUSTIFY }} -c ./src/uncrustify.cfg -q --replace --no-backup $(find ./src/nvim -name "*.[ch]")
|
||||
git diff --color --exit-code
|
||||
|
||||
- if: "!cancelled()"
|
||||
name: lualint
|
||||
|
Loading…
Reference in New Issue
Block a user