diff options
author | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 17:34:28 +0300 |
---|---|---|
committer | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 17:34:28 +0300 |
commit | 8390d07774a1ba1a597d809a1a2562d88ecce19d (patch) | |
tree | e491e928a49e326a385bc70f34eb044e4b81111a | |
parent | 989a5b11310c1c6da900c2f997712405a7986d09 (diff) | |
download | luasocket-8390d07774a1ba1a597d809a1a2562d88ecce19d.tar.gz luasocket-8390d07774a1ba1a597d809a1a2562d88ecce19d.tar.bz2 luasocket-8390d07774a1ba1a597d809a1a2562d88ecce19d.zip |
chore: Bump Lua version used in linter
-rw-r--r-- | .github/workflows/luacheck.yml | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 13993cc..597cd64 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml | |||
@@ -3,24 +3,17 @@ name: Luacheck | |||
3 | on: [push, pull_request] | 3 | on: [push, pull_request] |
4 | 4 | ||
5 | jobs: | 5 | jobs: |
6 | luacheck: | ||
7 | runs-on: ubuntu-latest | ||
8 | 6 | ||
7 | luacheck: | ||
8 | runs-on: ubuntu-20.04 | ||
9 | steps: | 9 | steps: |
10 | - name: Checkout | 10 | - name: Checkout |
11 | uses: actions/checkout@v2 | 11 | uses: actions/checkout@v3 |
12 | 12 | - name: Setup ‘lua’ | |
13 | - name: Setup Lua | 13 | uses: leafo/gh-actions-lua@v9 |
14 | uses: leafo/gh-actions-lua@v8 | 14 | - name: Setup ‘luarocks’ |
15 | with: | ||
16 | luaVersion: 5.4 | ||
17 | |||
18 | - name: Setup Lua Rocks | ||
19 | uses: leafo/gh-actions-luarocks@v4 | 15 | uses: leafo/gh-actions-luarocks@v4 |
20 | 16 | - name: Setup ‘luacheck’ | |
21 | - name: Setup dependencies | ||
22 | run: luarocks install luacheck | 17 | run: luarocks install luacheck |
23 | 18 | - name: Run ‘luacheck’ linter | |
24 | - name: Run Code Linter | 19 | run: luacheck . |
25 | run: | | ||
26 | luacheck . | ||