Skip to content

Commit 4207b5e

Browse files
committed
ci(llscheck): fixed Warning: Failed searching manifest: ... error
1 parent 15369cc commit 4207b5e

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/llscheck.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,19 @@ jobs:
1515
name: llscheck
1616

1717
steps:
18-
- uses: actions/checkout@master
18+
- name: Checkout
19+
uses: actions/checkout@master
1920

20-
- uses: rhysd/action-setup-vim@v1
21+
- name: Install Neovim
22+
uses: rhysd/action-setup-vim@v1
2123
# NOTE: We need Neovim installed in order to expose the $VIMRUNTIME
2224
# environment variable
2325
with:
2426
neovim: true
2527
version: stable
2628

27-
- uses: leafo/gh-actions-lua@v10
29+
- name: Install A Lua Interpreter
30+
uses: leafo/gh-actions-lua@v11
2831
with:
2932
# Neovim is compiled with LuaJIT so we might as well match. But it
3033
# doesn't look like we can match it exactly.
@@ -40,30 +43,27 @@ jobs:
4043
tool_versions: |
4144
lua-language-server latest
4245
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/gh-actions-luarocks@v1.0.0
5449

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
6054
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
6659
67-
- name: test
60+
- name: Test
6861
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 git@github.com:
67+
68+
# Now do the llscheck (and any git clones, as needed)
69+
make llscheck CONFIGURATION=.github/workflows/.luarc.json

0 commit comments

Comments
 (0)