Skip to content

Commit

Permalink
updating github actions and rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
FourierTransformer committed Nov 30, 2024
1 parent c9b5bdf commit 37b14f1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,19 @@ jobs:
- uses: actions/checkout@main

- name: Install Lua
uses: leafo/gh-actions-lua@v8.0.0
uses: leafo/gh-actions-lua@v10
with:
luaVersion: ${{ matrix.luaVersion }}

- name: Install LuaRocks
uses: leafo/gh-actions-luarocks@v4.0.0
uses: leafo/gh-actions-luarocks@v4

- name: Build
run: scripts/setup_local_luarocks.sh

- name: Lint
run: scripts/lint_teal.sh

- name: Test
run: luarocks test

- name: Check for untracked or modified files
run: |
if [ -n "$(git status --porcelain)" ]; then
Expand Down
15 changes: 15 additions & 0 deletions teal-language-server-0.0.5-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
rockspec_format = "3.0"

package = "teal-language-server"
version = "0.0.5-1"

source = {
url = "git+https://github.com/teal-language/teal-language-server.git",
branch = "main"
}

description = {
summary = "A language server for the Teal language",
detailed = "A language server for the Teal language",
homepage = "https://github.com/teal-language/teal-language-server",
license = "MIT"
}

dependencies = {
"luafilesystem",
"tl",
Expand All @@ -19,7 +23,18 @@ dependencies = {
"inspect",
"luv",
"lusc_luv >= 4.0",
"ltreesitter",
"tree-sitter-cli",
"tree-sitter-teal",
}

test_dependencies = { "busted~>2" }

test = {
type = "busted",
flags = {"-m", "gen/?.lua"},
}

build = {
type = "builtin",
modules = {
Expand Down

0 comments on commit 37b14f1

Please sign in to comment.