ci(lint): run uncrustify earlier

This commit is contained in:
Lewis Russell 2022-08-14 14:08:38 +01:00
parent 1dc984eaab
commit 0fcc32b707

View File

@ -98,23 +98,6 @@ jobs:
${{ env.CACHE_NVIM_DEPS_DIR }}
key: lint-${{ hashFiles('cmake/*', '**/CMakeLists.txt', '!cmake.deps/**CMakeLists.txt') }}-${{ github.base_ref }}
- name: Build third-party deps
run: ./ci/before_script.sh
- name: Build nvim
run: ./ci/run_tests.sh build_nvim
- if: "!cancelled()"
name: lintcfull
run: make lintcfull
- if: "!cancelled()"
name: lintstylua
uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check runtime/
- if: "!cancelled()"
name: uncrustify
run: |
@ -133,6 +116,23 @@ jobs:
run: |
git diff --color --exit-code
- name: Build third-party deps
run: ./ci/before_script.sh
- name: Build nvim
run: ./ci/run_tests.sh build_nvim
- if: "!cancelled()"
name: lintcfull
run: make lintcfull
- if: "!cancelled()"
name: lintstylua
uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check runtime/
- if: "!cancelled()"
name: lintlua
run: make lintlua