Skip to content

Commit

Permalink
Add a Luacheck workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rgacogne committed Sep 27, 2024
1 parent ba97e11 commit 639dfbb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Luacheck

on:
push:
pull_request:

jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
with:
args: src/
3 changes: 3 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
globals = {
"unique_id"
}

0 comments on commit 639dfbb

Please sign in to comment.