aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/luacheck.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml
new file mode 100644
index 0000000..597cd64
--- /dev/null
+++ b/.github/workflows/luacheck.yml
@@ -0,0 +1,19 @@
1name: Luacheck
2
3on: [push, pull_request]
4
5jobs:
6
7 luacheck:
8 runs-on: ubuntu-20.04
9 steps:
10 - name: Checkout
11 uses: actions/checkout@v3
12 - name: Setup ‘lua’
13 uses: leafo/gh-actions-lua@v9
14 - name: Setup ‘luarocks’
15 uses: leafo/gh-actions-luarocks@v4
16 - name: Setup ‘luacheck’
17 run: luarocks install luacheck
18 - name: Run ‘luacheck’ linter
19 run: luacheck .