pages/dotfiles/pack/plugins/start/mini.nvim/.github/workflows/tests.yml

29 lines
690 B
YAML
Executable File

name: Run tests
on: [push, pull_request]
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
neovim_version: ['v0.5.1', 'v0.6.1', 'v0.7.0', 'nightly']
steps:
- uses: actions/checkout@v2
- run: date +%F > todays-date
- name: Restore cache for today's nightly.
uses: actions/cache@v2
with:
path: _neovim
key: ${{ runner.os }}-x64-${{ hashFiles('todays-date') }}
- name: Setup neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim_version }}
- name: Run tests
run: make test