Skip to content

Commit fd93492

Browse files
committed
use lua ls's new check format instead of llscheck
1 parent d5f77da commit fd93492

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
lines changed

Diff for: .github/workflows/.luarc.json

-18
This file was deleted.

Diff for: .github/workflows/llscheck.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- '*'
77

88
jobs:
9-
llscheck:
9+
luacheck:
1010
strategy:
1111
matrix:
1212
neovim: ["0.10"]
1313
lua: ["5.1", "luajit-master"]
1414
runs-on: ubuntu-latest
15-
name: llscheck
15+
name: luacheck
1616

1717
steps:
1818
- name: Checkout
@@ -22,12 +22,6 @@ jobs:
2222
with:
2323
luaVersion: ${{matrix.lua}}
2424

25-
- uses: luarocks/gh-actions-luarocks@v5
26-
27-
- name: build
28-
run: |
29-
luarocks install llscheck
30-
3125
- name: Install lua-language-server
3226
uses: jdx/mise-action@v2
3327
with:
@@ -36,7 +30,8 @@ jobs:
3630
neovim = "${{ matrix.neovim }}"
3731
lua-language-server = "latest"
3832
39-
- name: Run llscheck
33+
- name: Run lua-language-server check
4034
continue-on-error: true
4135
run: |
42-
make llscheck CONFIGURATION=.github/workflows/.luarc.json
36+
LUARC=".github/workflows/.luarc-${{ matrix.lua }}.json"
37+
make luacheck CONFIGURATION="$LUARC"

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ clean:
3838
rm -rf "$(DEPS)"
3939

4040
CONFIGURATION = .github/workflows/.luarc.json
41-
llscheck: setup
42-
VIMRUNTIME="`nvim --clean --headless --cmd 'lua io.write(vim.env.VIMRUNTIME)' --cmd 'quit'`" llscheck --configpath $(CONFIGURATION) .
41+
luacheck: setup
42+
VIMRUNTIME="`nvim --clean --headless --cmd 'lua io.write(vim.env.VIMRUNTIME)' --cmd 'quit'`" lua-language-server --configpath=$(CONFIGURATION) --check=.

0 commit comments

Comments
 (0)