Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: release and publish to luarocks #92

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rcarriga
Copy link
Contributor

@rcarriga rcarriga commented May 7, 2024

No description provided.

Comment on lines +75 to +78
dependencies: |
plenary.nvim
nvim-nio
neotest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: luarocks (with rocks.nvim) is now capable of installing tree-sitter parsers.

Suggested change
dependencies: |
plenary.nvim
nvim-nio
neotest
dependencies: |
plenary.nvim
nvim-nio
neotest
tree-sitter-go

- name: Get Version
run: echo "LUAROCKS_VERSION=$(git fetch --tags; git describe --abbrev=0 --tags)" >> $GITHUB_ENV
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uses: nvim-neorocks/luarocks-tag-release@v5
uses: nvim-neorocks/luarocks-tag-release@v7

- uses: actions/checkout@v3
- name: Get Version
run: echo "LUAROCKS_VERSION=$(git fetch --tags; git describe --abbrev=0 --tags)" >> $GITHUB_ENV
- name: LuaRocks Upload
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required to build the tree-sitter-go dependency.

Note: Users can install the binary package without having to compile by passing --server='https://nvim-neorocks.github.io/rocks-binaries/' to luarocks install (which is what rocks.nvim and lazy.nvim do by default).

Suggested change
- name: LuaRocks Upload
- name: Install C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- name: Install tree-sitter CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tree-sitter-cli
- name: LuaRocks Upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants