mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
ci: introduce CI_LINT option
This will abort if lint programs are not found, and is meant primarily for the lint job in CI. Supersedes the REQUIRED argument in add_glob_target as it's a superior replacement by being a built-in solution.
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
cmake --build .deps
|
||||
|
||||
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
|
||||
run: cmake -B build -G Ninja
|
||||
run: cmake -B build -G Ninja -D CI_LINT=ON
|
||||
|
||||
- if: "!cancelled()"
|
||||
name: Determine if run should be aborted
|
||||
|
Reference in New Issue
Block a user