fix: keep format command args #61
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: 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 |