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:
dundargoc 2023-01-16 11:11:48 +01:00 committed by GitHub
parent 307efe4906
commit 6383e454ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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