mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
ci(lint): run uncrustify earlier
This commit is contained in:
parent
1dc984eaab
commit
0fcc32b707
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user