diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-08-14 13:49:10 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2022-08-14 15:37:22 +0100 |
commit | 1dc984eaabca97fa59c64e5c4588e98301da6cd6 (patch) | |
tree | 826456e71deca03bb7e6daea91864753d51505d8 | |
parent | b1faf5f0b92356c5abb434cbb978c1db34f89c4a (diff) | |
download | rneovim-1dc984eaabca97fa59c64e5c4588e98301da6cd6.tar.gz rneovim-1dc984eaabca97fa59c64e5c4588e98301da6cd6.tar.bz2 rneovim-1dc984eaabca97fa59c64e5c4588e98301da6cd6.zip |
ci(lint): generate PR suggestions from uncrustify
-rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74940c762f..c87b36e7e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,6 +119,18 @@ jobs: name: uncrustify run: | ${{ env.CACHE_UNCRUSTIFY }} -c ./src/uncrustify.cfg -q --replace --no-backup $(find ./src/nvim -name "*.[ch]") + + - if: "!cancelled()" + name: suggester / uncrustify + uses: reviewdog/action-suggester@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + tool_name: uncrustify + cleanup: false + + - if: "!cancelled()" + name: check uncrustify + run: | git diff --color --exit-code - if: "!cancelled()" |