Skip to content

Commit 37b14f1

Browse files
updating github actions and rockspec
1 parent c9b5bdf commit 37b14f1

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,19 @@ jobs:
1616
- uses: actions/checkout@main
1717

1818
- name: Install Lua
19-
uses: leafo/gh-actions-lua@v8.0.0
19+
uses: leafo/gh-actions-lua@v10
2020
with:
2121
luaVersion: ${{ matrix.luaVersion }}
2222

2323
- name: Install LuaRocks
24-
uses: leafo/gh-actions-luarocks@v4.0.0
24+
uses: leafo/gh-actions-luarocks@v4
2525

2626
- name: Build
2727
run: scripts/setup_local_luarocks.sh
2828

2929
- name: Lint
3030
run: scripts/lint_teal.sh
3131

32-
- name: Test
33-
run: luarocks test
34-
3532
- name: Check for untracked or modified files
3633
run: |
3734
if [ -n "$(git status --porcelain)" ]; then

teal-language-server-0.0.5-1.rockspec

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
rockspec_format = "3.0"
2+
23
package = "teal-language-server"
34
version = "0.0.5-1"
5+
46
source = {
57
url = "git+https://github.com/teal-language/teal-language-server.git",
68
branch = "main"
79
}
10+
811
description = {
912
summary = "A language server for the Teal language",
1013
detailed = "A language server for the Teal language",
1114
homepage = "https://github.com/teal-language/teal-language-server",
1215
license = "MIT"
1316
}
17+
1418
dependencies = {
1519
"luafilesystem",
1620
"tl",
@@ -19,7 +23,18 @@ dependencies = {
1923
"inspect",
2024
"luv",
2125
"lusc_luv >= 4.0",
26+
"ltreesitter",
27+
"tree-sitter-cli",
28+
"tree-sitter-teal",
2229
}
30+
31+
test_dependencies = { "busted~>2" }
32+
33+
test = {
34+
type = "busted",
35+
flags = {"-m", "gen/?.lua"},
36+
}
37+
2338
build = {
2439
type = "builtin",
2540
modules = {

0 commit comments

Comments
 (0)