Skip to content

Add luacheck action #19

Add luacheck action

Add luacheck action #19

Workflow file for this run

name: Checks
on:
pull_request: {}
push:
branches:
- main
jobs:
formatting:
name: Formatting (stylua)
runs-on: ubuntu-latest
steps:
- name: Fetch code
uses: actions/checkout@v4
- name: Check formatting
uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
lint:
name: Lint (luacheck)
runs-on: ubuntu-latest
steps:
- name: Fetch code
uses: actions/checkout@v4
- name: Run luacheck
uses: lunarmodules/luacheck@v1
args:

Check failure on line 33 in .github/workflows/checks.yml

View workflow run for this annotation

GitHub Actions / Checks

Invalid workflow file

The workflow is not valid. .github/workflows/checks.yml (Line: 33, Col: 9): Unexpected value 'args'
- lua