build: add luarocks packaging and bump stylua
Problem: oil.nvim had no luarocks rockspec, so users of rocks.nvim and similar tools could not install it from the registry. The stylua CI action was also pinned to an older version. Solution: add scm-1 rockspec and a luarocks publish workflow that gates on tests passing before publishing on version tags. Bump stylua action from v2.0.2 to v2.1.0. Closes: barrettruth/oil.nvim#14
This commit is contained in:
parent
0f8b084e4a
commit
d393deec8b
3 changed files with 43 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
uses: JohnnyMorganz/stylua-action@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: v2.0.2
|
||||
version: v2.1.0
|
||||
args: --check lua tests
|
||||
|
||||
typecheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue