Skip to content

Commit

Permalink
feat: publish releases to luarocks (#185)
Browse files Browse the repository at this point in the history
neotest is a common dependency across Neovim plugins. Using luarocks may alleviate the need for users to specify their plugins' dependencies in their plugin manager.
(e.g., vim-plug or packer).
  • Loading branch information
mrcjkb authored Mar 25, 2023
1 parent bbbfa55 commit 9f35041
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/luarocks-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
release:
types: [published]

jobs:
luarocks-upload:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v4
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
dependencies: |
plenary.nvim
nvim-treesitter
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ See `:h neotest` for details on neotest is designed and how to interact with it

## Installation

[![LuaRocks](https://img.shields.io/luarocks/v/nvim-neotest/neotest?logo=lua&color=purple)](https://luarocks.org/modules/nvim-neotest/neotest)

Neotest uses [plenary.nvim](https://github.com/nvim-lua/plenary.nvim/).

Most adapters will also require [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter).
Expand Down

0 comments on commit 9f35041

Please sign in to comment.