mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 12:28:21 +01:00
chore: Bump Lua version used in linter
This commit is contained in:
parent
989a5b1131
commit
8390d07774
25
.github/workflows/luacheck.yml
vendored
25
.github/workflows/luacheck.yml
vendored
@ -3,24 +3,17 @@ name: Luacheck
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
luacheck:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
|
luacheck:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
- name: Setup ‘lua’
|
||||||
- name: Setup Lua
|
uses: leafo/gh-actions-lua@v9
|
||||||
uses: leafo/gh-actions-lua@v8
|
- name: Setup ‘luarocks’
|
||||||
with:
|
|
||||||
luaVersion: 5.4
|
|
||||||
|
|
||||||
- name: Setup Lua Rocks
|
|
||||||
uses: leafo/gh-actions-luarocks@v4
|
uses: leafo/gh-actions-luarocks@v4
|
||||||
|
- name: Setup ‘luacheck’
|
||||||
- name: Setup dependencies
|
|
||||||
run: luarocks install luacheck
|
run: luarocks install luacheck
|
||||||
|
- name: Run ‘luacheck’ linter
|
||||||
- name: Run Code Linter
|
run: luacheck .
|
||||||
run: |
|
|
||||||
luacheck .
|
|
||||||
|
Loading…
Reference in New Issue
Block a user