28 lines
723 B
YAML
28 lines
723 B
YAML
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: Download stylua
|
|
shell: bash
|
|
run: |
|
|
wget "https://github.com/JohnnyMorganz/StyLua/releases/download/v0.18.0/stylua-linux.zip" -P /home/runner/.local/bin
|
|
unzip /home/runner/.local/bin/stylua-linux.zip -d /home/runner/.local/bin
|
|
chmod +x /home/runner/.local/bin/stylua
|
|
- name: Run tests
|
|
uses: nvim-neorocks/nvim-busted-action@v1
|
|
with:
|
|
nvim_version: ${{ matrix.neovim_version }}
|