commit f31a10204c573188e8fb76a10d22f9d4bae907f1 parent 772ae3e6566a0c9207cfc60e5f02af9cd32685da Author: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 29 May 2022 02:00:25 +0200 ci(uncrustify): show diff on failure #18780 This will make it possible to see what needs to be fixed without having uncrustify installed locally. Diffstat:
| M | .github/workflows/ci.yml | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -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