My Workflow
I maintain some Neovim plugins and wanted to setup automated tests for those using GitHub Actions. First thing you need for testing Neovim plugin is "neovim" itself.
So I wrote this small GitHub Action with only 30-ish lines of code. It takes a Neovim release tag, downloads the archive and sets it up for you. It works on Linux and macOS.
This would be useful to anybody who maintains Neovim plugins.
Submission Category:
Maintainer Must-Haves
Yaml File or Link to Code
MunifTanjim / setup-neovim-action
🚀 Setup Neovim on Github Actions.
Setup Neovim - GitHub Action
Setup Neovim on Github Actions.
Usage
See action.yml
Basic (stable release):
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/setup-neovim-action@v1
- run: |
nvim --version
Specific Tag:
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/setup-neovim-action@v1
with:
tag: nightly
- run: |
nvim --version
For list of available tags, check: https://github.com/neovim/neovim/tags
Compile from Source:
steps:
- uses: actions/checkout@v2
- uses: MunifTanjim/setup-neovim-action@v1
with:
tag: source
- run: |
nvim --version
License
Licensed under the MIT License. Check the LICENSE file for details.
Additional Resources / Info
If you want to see it in action, check:
Top comments (0)