mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 17:12:40 +00:00
ci(lint): run uncrustify earlier
This commit is contained in:
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
@@ -98,23 +98,6 @@ jobs:
|
|||||||
${{ env.CACHE_NVIM_DEPS_DIR }}
|
${{ env.CACHE_NVIM_DEPS_DIR }}
|
||||||
key: lint-${{ hashFiles('cmake/*', '**/CMakeLists.txt', '!cmake.deps/**CMakeLists.txt') }}-${{ github.base_ref }}
|
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()"
|
- if: "!cancelled()"
|
||||||
name: uncrustify
|
name: uncrustify
|
||||||
run: |
|
run: |
|
||||||
@@ -133,6 +116,23 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git diff --color --exit-code
|
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()"
|
- if: "!cancelled()"
|
||||||
name: lintlua
|
name: lintlua
|
||||||
run: make lintlua
|
run: make lintlua
|
||||||
|
|||||||
Reference in New Issue
Block a user