Skip to content

Commit b2e9ab2

Browse files
authored
Add luacheck action
1 parent ba1dfed commit b2e9ab2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/luacheck.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Luacheck
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
luacheck:
13+
# The type of runner that the job will run on
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
# Run luacheck for the codebase in the src/ folder
20+
- name: Luacheck linter
21+
uses: lunarmodules/luacheck@v1
22+
with:
23+
args: src

0 commit comments

Comments
 (0)