Skip to content

Update README (#219) #166

Update README (#219)

Update README (#219) #166

Workflow file for this run

name: lint and style check
on:
push:
branches:
- main
pull_request:
jobs:
luacheck:
name: luacheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Lint
run: luacheck lua ftdetect test/spec
stylua:
name: stylua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 0.15.1
args: --color always --check lua ftdetect test/spec