diff options
author | Caleb Maclennan <caleb@alerque.com> | 2022-03-24 15:22:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 13:22:31 +0100 |
commit | 5ed8b66e6d0c295f95fade159ada0f97f482b2ac (patch) | |
tree | 204dbd8aae028de14b0af5134214ad2d6ad8b494 | |
parent | 78d2cbfdeee89a461de34c809cd8304358188cc1 (diff) | |
download | luasocket-5ed8b66e6d0c295f95fade159ada0f97f482b2ac.tar.gz luasocket-5ed8b66e6d0c295f95fade159ada0f97f482b2ac.tar.bz2 luasocket-5ed8b66e6d0c295f95fade159ada0f97f482b2ac.zip |
ci: Utilize new upstream Luacheck Action (#367)
-rw-r--r-- | .github/workflows/luacheck.yml | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 597cd64..2f20456 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml | |||
@@ -7,13 +7,7 @@ jobs: | |||
7 | luacheck: | 7 | luacheck: |
8 | runs-on: ubuntu-20.04 | 8 | runs-on: ubuntu-20.04 |
9 | steps: | 9 | steps: |
10 | - name: Checkout | 10 | - name: Checkout |
11 | uses: actions/checkout@v3 | 11 | uses: actions/checkout@v3 |
12 | - name: Setup ‘lua’ | 12 | - name: Luacheck |
13 | uses: leafo/gh-actions-lua@v9 | 13 | uses: lunarmodules/luacheck@v0 |
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 . | ||