Rewrite for better architecture, easier extensibility; add a general :Preview command #77
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
luacheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lunarmodules/[email protected] | |
stylua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: JohnnyMorganz/stylua-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --color always --check lua/ | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: nightly | |
- name: Install luarocks + packages | |
run: | | |
sudo apt install -y luarocks | |
sudo luarocks install vusted | |
- name: Run tests | |
run: vusted tests --output=gtest |