aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorCaleb Maclennan <caleb@alerque.com>2022-03-19 17:42:53 +0300
committerGitHub <noreply@github.com>2022-03-19 17:42:53 +0300
commita36818d3f3afd8758ec10991a5cb08ebdaca6329 (patch)
tree445c27832ac4fb48a03c146fa7c797dc4880c099 /.github/workflows
parent6952262e6a1315b14935ddd0ea511c202c0154ba (diff)
parent8390d07774a1ba1a597d809a1a2562d88ecce19d (diff)
downloadluasocket-a36818d3f3afd8758ec10991a5cb08ebdaca6329.tar.gz
luasocket-a36818d3f3afd8758ec10991a5cb08ebdaca6329.tar.bz2
luasocket-a36818d3f3afd8758ec10991a5cb08ebdaca6329.zip
Merge pull request #354 from lunarmodules/linter
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 .