diff --git a/.github/workflows/luarocks-release.yaml b/.github/workflows/luarocks-release.yaml new file mode 100644 index 00000000..63dcd787 --- /dev/null +++ b/.github/workflows/luarocks-release.yaml @@ -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 diff --git a/README.md b/README.md index 96b8f376..c1b33327 100644 --- a/README.md +++ b/README.md @@ -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).