ci: Fix nightly tests #1582
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: JohnnyMorganz/stylua-action@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
# CLI arguments | |
args: --check lua/ tests/ | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- v0.9.0 | |
- v0.9.1 | |
- v0.9.2 | |
- v0.9.4 | |
- v0.9.5 | |
- nightly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install xclip | |
run: sudo apt-get install xsel | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
id: neovim | |
with: | |
neovim: true | |
version: ${{ matrix.version }} | |
- name: Run tests | |
run: make test |