Skip to content

ci: release to luarocks when a new tag is pushed #443

ci: release to luarocks when a new tag is pushed

ci: release to luarocks when a new tag is pushed #443

Workflow file for this run

---
name: Run tests
on:
pull_request: ~
push:
branches:
- main
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
neovim_version: ["nightly", "stable"]
steps:
- uses: actions/checkout@v4
- name: Set up yazi
run: |
# Install yazi
test -d _yazi || {
mkdir -p _yazi
wget "https://github.com/sxyazi/yazi/releases/download/v0.2.5/yazi-x86_64-unknown-linux-gnu.zip" --output-document yazi.zip
unzip yazi.zip -d _yazi
}
echo "Current _yazi/ contents"
ls -R _yazi
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
echo "${PWD}/_yazi/yazi-x86_64-unknown-linux-gnu/" >> $GITHUB_PATH
- name: Run tests
uses: nvim-neorocks/nvim-busted-action@v1
with:
nvim_version: ${{ matrix.neovim_version }}
luarocks_version: "3.11.1"