diff options
| author | dundargoc <gocdundar@gmail.com> | 2025-02-06 13:45:41 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2025-02-09 18:10:54 +0100 |
| commit | 198a952c13a1f44c216d3e83b65295cf78802f30 (patch) | |
| tree | 1c286184abe99148dc6a6a08adc06c488675dadf /.github/workflows | |
| parent | cd3855fb2be78e2dc2d2ca4b8e950d9d9d9081bb (diff) | |
| download | rneovim-198a952c13a1f44c216d3e83b65295cf78802f30.tar.gz rneovim-198a952c13a1f44c216d3e83b65295cf78802f30.tar.bz2 rneovim-198a952c13a1f44c216d3e83b65295cf78802f30.zip | |
build: add luals check
This automatically downloads and uses the correct luals binary for the
currently used system. `make luals` will run luals on all lua files in
`runtime`.
We download lua-language-server manually instead of relying on
contributors downloading it on their own (like with stylua) as
lua-language-server is updated frequently which may cause unnecessary
friction. Therefore, we download a pinned version of luals which we then
can manually bump when needed. This can be re-evaluated if luals becomes
more stable in the future.
Currently this is not run when using `make lint` since cmake style "file
caching" doesn't seem possible at the moment. This is because checking a
single file doesn't seem to work.
Work on https://github.com/neovim/neovim/issues/24563.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 797f102879..4b0af4d94b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,6 +58,10 @@ jobs: run: cmake --build build --target lintlua-stylua - if: success() || failure() && steps.abort_job.outputs.status == 'success' + name: luals + run: cmake --build build --target luals + + - if: success() || failure() && steps.abort_job.outputs.status == 'success' name: luacheck run: cmake --build build --target lintlua-luacheck |