aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-16 11:11:48 +0100
committerGitHub <noreply@github.com>2023-01-16 11:11:48 +0100
commit6383e454abf64d266e0fbf8df019f4e8138fad09 (patch)
tree98377e95712928a9bb1e52dd4c3eb6acfc8b32b8
parent307efe4906de9f0b7d8611ea36bddb85493c1447 (diff)
downloadrneovim-6383e454abf64d266e0fbf8df019f4e8138fad09.tar.gz
rneovim-6383e454abf64d266e0fbf8df019f4e8138fad09.tar.bz2
rneovim-6383e454abf64d266e0fbf8df019f4e8138fad09.zip
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.
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7699233ea3..399ac24ecc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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