Skip to content

chore(ci): use latest stylua action #133

chore(ci): use latest stylua action

chore(ci): use latest stylua action #133

Workflow file for this run

name: Format & linting checks
on: [push, pull_request]
jobs:
luacheck:
name: luacheck
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Lint
run: luacheck lua/
stylua:
name: stylua
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check lua/