Skip to content

Commit 64bee38

Browse files
committed
chore: use luarocks-tag-release workflow
1 parent 902d6aa commit 64bee38

File tree

6 files changed

+14
-39
lines changed

6 files changed

+14
-39
lines changed

.github/workflows/release.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v3
11-
- uses: leafo/gh-actions-lua@v9
12-
with:
13-
luaVersion: "luajit-2.1.0-beta3"
14-
- uses: leafo/gh-actions-luarocks@v4
15-
- name: Install dkjson
16-
run: luarocks install dkjson
17-
- name: Luarocks Upload
18-
env:
11+
- name: LuaRocks Upload
12+
uses: nvim-neorocks/[email protected]
13+
env:
1914
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
20-
run: make luarocks_upload
21-
- name: Install release
22-
run: make test_luarocks_install
15+
with:
16+
summary: "A collection of common configurations for Neovim's built-in language server client."
17+
detailed_description: |
18+
This plugin allows for declaratively configuring,
19+
launching, and initializing language servers you have installed on your system.
20+
Language server configurations are community-maintained.
21+
copy_directories: |
22+
doc

Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,3 @@ lint:
1010
stylua --check .
1111

1212
.PHONY: test lint
13-
14-
luarocks_upload:
15-
bash ./scripts/luarocks-upload.sh
16-
17-
test_luarocks_install:
18-
bash ./scripts/test-luarocks-install.sh

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ See also `:help lsp-config`.
1010

1111
## Install
1212

13+
[![LuaRocks](https://img.shields.io/luarocks/v/teto/nvim-lspconfig?logo=lua&color=purple)](https://luarocks.org/modules/teto/nvim-lspconfig)
14+
1315
* Requires neovim version 0.7 above. Update Nvim and nvim-lspconfig before reporting an issue.
1416
* Install nvim-lspconfig like any other Vim plugin, e.g. with [packer.nvim](https://github.com/wbthomason/packer.nvim):
1517
```lua

nvim-lspconfig-scm-1.rockspec

+1-8
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,9 @@ dependencies = {
2020
}
2121

2222
source = {
23-
url = 'https://github.com/neovim/nvim-lspconfig/archive/v' .. _MODREV .. '.zip',
24-
dir = 'nvim-lspconfig-' .. _MODREV,
23+
url = 'git://github.com/neovim/nvim-lspconfig',
2524
}
2625

27-
if _MODREV == 'scm' then
28-
source = {
29-
url = 'git://github.com/neovim/nvim-lspconfig',
30-
}
31-
end
32-
3326
build = {
3427
type = 'builtin',
3528
copy_directories = {

scripts/luarocks-upload.sh

-10
This file was deleted.

scripts/test-luarocks-install.sh

-4
This file was deleted.

0 commit comments

Comments
 (0)