File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,19 @@ jobs:
16
16
- uses : actions/checkout@main
17
17
18
18
- name : Install Lua
19
- uses : leafo/gh-actions-lua@v8.0.0
19
+ uses : leafo/gh-actions-lua@v10
20
20
with :
21
21
luaVersion : ${{ matrix.luaVersion }}
22
22
23
23
- name : Install LuaRocks
24
- uses : leafo/gh-actions-luarocks@v4.0.0
24
+ uses : leafo/gh-actions-luarocks@v4
25
25
26
26
- name : Build
27
27
run : scripts/setup_local_luarocks.sh
28
28
29
29
- name : Lint
30
30
run : scripts/lint_teal.sh
31
31
32
- - name : Test
33
- run : luarocks test
34
-
35
32
- name : Check for untracked or modified files
36
33
run : |
37
34
if [ -n "$(git status --porcelain)" ]; then
Original file line number Diff line number Diff line change 1
1
rockspec_format = " 3.0"
2
+
2
3
package = " teal-language-server"
3
4
version = " 0.0.5-1"
5
+
4
6
source = {
5
7
url = " git+https://github.com/teal-language/teal-language-server.git" ,
6
8
branch = " main"
7
9
}
10
+
8
11
description = {
9
12
summary = " A language server for the Teal language" ,
10
13
detailed = " A language server for the Teal language" ,
11
14
homepage = " https://github.com/teal-language/teal-language-server" ,
12
15
license = " MIT"
13
16
}
17
+
14
18
dependencies = {
15
19
" luafilesystem" ,
16
20
" tl" ,
@@ -19,7 +23,18 @@ dependencies = {
19
23
" inspect" ,
20
24
" luv" ,
21
25
" lusc_luv >= 4.0" ,
26
+ " ltreesitter" ,
27
+ " tree-sitter-cli" ,
28
+ " tree-sitter-teal" ,
22
29
}
30
+
31
+ test_dependencies = { " busted~>2" }
32
+
33
+ test = {
34
+ type = " busted" ,
35
+ flags = {" -m" , " gen/?.lua" },
36
+ }
37
+
23
38
build = {
24
39
type = " builtin" ,
25
40
modules = {
You can’t perform that action at this time.
0 commit comments