Skip to content

fix: Format command #58

fix: Format command

fix: Format command #58

Workflow file for this run

name: Pull request check
on:
pull_request:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .
block-fixup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Block Fixup Commit Merge
uses: 13rac1/block-fixup-merge-action@v2.0.0
luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v8.0.0
with:
luaVersion: 'luajit-2.1.0-beta3'
- uses: leafo/gh-actions-luarocks@v4.0.0
- name: build
run: |
luarocks install luacheck
- name: test
run: |
luacheck lua specs
tests:
strategy:
fail-fast: false
matrix:
version:
- stable
- nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
id: neovim
with:
neovim: true
version: ${{ matrix.version }}
- name: Run tests
run: make specs