File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,22 @@ jobs:
20
20
strategy :
21
21
matrix :
22
22
lua_version : [ 5.1 ]
23
+ luacheck_version : [ 1.2.0 ]
23
24
24
25
steps :
25
- - uses : actions/checkout@v4
26
+ - name : checkout
27
+ uses : actions/checkout@v4
26
28
27
- - uses : leafo/gh-actions-lua@v11
29
+ - name : install lua
30
+ uses : leafo/gh-actions-lua@v11
28
31
with :
29
32
luaVersion : ${{ matrix.lua_version }}
30
33
31
- - uses : leafo/gh-actions-luarocks@v4
34
+ - name : install luarocks
35
+ uses : leafo/gh-actions-luarocks@v5
32
36
33
- - run : luarocks install luacheck 1.1.1
37
+ - name : install luacheck
38
+ run : luarocks install ${{ matrix.luacheck_version }}
34
39
35
40
- run : make lint
36
41
@@ -50,14 +55,16 @@ jobs:
50
55
VIMRUNTIME : /home/runner/nvim-${{ matrix.nvim_version }}/share/nvim/runtime
51
56
52
57
steps :
53
- - uses : actions/checkout@v4
58
+ - name : checkout
59
+ uses : actions/checkout@v4
54
60
55
- - uses : rhysd/action-setup-vim@v1
61
+ - name : install nvim ${{ matrix.nvim_version }}
62
+ uses : rhysd/action-setup-vim@v1
56
63
with :
57
64
neovim : true
58
65
version : ${{ matrix.nvim_version }}
59
66
60
- - name : install luals
67
+ - name : install lua-language-server
61
68
run : |
62
69
mkdir -p luals
63
70
curl -L "https://github.com/LuaLS/lua-language-server/releases/download/${{ matrix.luals_version }}/lua-language-server-${{ matrix.luals_version }}-linux-x64.tar.gz" | tar zx --directory luals
You can’t perform that action at this time.
0 commit comments