@@ -15,16 +15,19 @@ jobs:
15
15
name : llscheck
16
16
17
17
steps :
18
- - uses : actions/checkout@master
18
+ - name : Checkout
19
+ uses : actions/checkout@master
19
20
20
- - uses : rhysd/action-setup-vim@v1
21
+ - name : Install Neovim
22
+ uses : rhysd/action-setup-vim@v1
21
23
# NOTE: We need Neovim installed in order to expose the $VIMRUNTIME
22
24
# environment variable
23
25
with :
24
26
neovim : true
25
27
version : stable
26
28
27
- - uses : leafo/gh-actions-lua@v10
29
+ - name : Install A Lua Interpreter
30
+ uses : leafo/gh-actions-lua@v11
28
31
with :
29
32
# Neovim is compiled with LuaJIT so we might as well match. But it
30
33
# doesn't look like we can match it exactly.
@@ -40,30 +43,27 @@ jobs:
40
43
tool_versions : |
41
44
lua-language-server latest
42
45
43
- - uses : leafo/gh-actions-luarocks@v4
44
- - name : Install llscheck
45
- run : |
46
- luarocks install llscheck
47
- luarocks install nlua
48
-
49
- - name : Clone dependencies - busted
50
- uses : actions/checkout@v4
51
- with :
52
- repository : " LuaCATS/busted"
53
- path : " .dependencies/busted"
46
+ - name : Install luarocks
47
+ # TODO: Replace with https://github.com/luarocks/gh-actions-luarocks after v6+
48
+ uses :
ColinKennedy/[email protected]
54
49
55
- - name : Clone dependencies - luassert
56
- uses : actions/checkout@v4
57
- with :
58
- repository : " LuaCATS/luassert"
59
- path : " .dependencies/luassert"
50
+ - name : Print Versions
51
+ run : |
52
+ luarocks --version
53
+ lua-language-server --version
60
54
61
- - name : Clone dependencies - luavit-meta
62
- uses : actions/checkout@v4
63
- with :
64
- repository : " Bilal2453/luvit-meta"
65
- path : " .dependencies/luvit-meta"
55
+ - name : Install llscheck
56
+ run : |
57
+ luarocks --version
58
+ luarocks install llscheck --verbose
66
59
67
- - name : test
60
+ - name : Test
68
61
run : |
69
- VIMRUNTIME=`nlua -e 'io.write(os.getenv("VIMRUNTIME"))'` llscheck --configpath .github/workflows/.luarc.json .
62
+ # We use SSH in the `Makefile` but GitHub actions don't allow that. So
63
+ # we force git to clone using HTTP instead.
64
+ #
65
+ export GIT_CONFIG=~/.gitconfig
66
+ git config url."https://github.com/".insteadOf [email protected] :
67
+
68
+ # Now do the llscheck (and any git clones, as needed)
69
+ make llscheck CONFIGURATION=.github/workflows/.luarc.json
0 commit comments