mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
ci(lint): generate PR suggestions from uncrustify
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -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()"
|
||||
|
Reference in New Issue
Block a user