mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: run each linter once (#21825)
Running "make lintlua" will run both stylua and luacheck if both exist. But this is not necessary as we already lint with stylua with the stylua-action, so we only need to lint with luacheck on our own.
This commit is contained in:
parent
307efe4906
commit
6383e454ab
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -83,8 +83,10 @@ jobs:
|
||||
args: --check runtime/
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: lintlua
|
||||
run: make lintlua
|
||||
name: luacheck
|
||||
run: |
|
||||
cmake -B $BUILD_DIR -G Ninja
|
||||
cmake --build $BUILD_DIR --target lintlua-luacheck
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: lintsh
|
||||
@ -162,8 +164,8 @@ jobs:
|
||||
run: echo "status=${{ job.status }}" >> $GITHUB_OUTPUT
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: lintc
|
||||
run: make lintc
|
||||
name: clint.py
|
||||
run: cmake --build build --target lintc-clint
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
name: check-single-includes
|
||||
|
Loading…
Reference in New Issue
Block a user