File tree 3 files changed +7
-30
lines changed
3 files changed +7
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
- ' *'
7
7
8
8
jobs :
9
- llscheck :
9
+ luacheck :
10
10
strategy :
11
11
matrix :
12
12
neovim : ["0.10"]
13
13
lua : ["5.1", "luajit-master"]
14
14
runs-on : ubuntu-latest
15
- name : llscheck
15
+ name : luacheck
16
16
17
17
steps :
18
18
- name : Checkout
22
22
with :
23
23
luaVersion : ${{matrix.lua}}
24
24
25
- - uses : luarocks/gh-actions-luarocks@v5
26
-
27
- - name : build
28
- run : |
29
- luarocks install llscheck
30
-
31
25
- name : Install lua-language-server
32
26
uses : jdx/mise-action@v2
33
27
with :
36
30
neovim = "${{ matrix.neovim }}"
37
31
lua-language-server = "latest"
38
32
39
- - name : Run llscheck
33
+ - name : Run lua-language-server check
40
34
continue-on-error : true
41
35
run : |
42
- make llscheck CONFIGURATION=.github/workflows/.luarc.json
36
+ LUARC=".github/workflows/.luarc-${{ matrix.lua }}.json"
37
+ make luacheck CONFIGURATION="$LUARC"
Original file line number Diff line number Diff line change 38
38
rm -rf " $( DEPS) "
39
39
40
40
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= .
You can’t perform that action at this time.
0 commit comments