mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08: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]
|
||||
|
||||
jobs:
|
||||
luacheck:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
luacheck:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Lua
|
||||
uses: leafo/gh-actions-lua@v8
|
||||
with:
|
||||
luaVersion: 5.4
|
||||
|
||||
- name: Setup Lua Rocks
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup ‘lua’
|
||||
uses: leafo/gh-actions-lua@v9
|
||||
- name: Setup ‘luarocks’
|
||||
uses: leafo/gh-actions-luarocks@v4
|
||||
|
||||
- name: Setup dependencies
|
||||
- name: Setup ‘luacheck’
|
||||
run: luarocks install luacheck
|
||||
|
||||
- name: Run Code Linter
|
||||
run: |
|
||||
luacheck .
|
||||
- name: Run ‘luacheck’ linter
|
||||
run: luacheck .
|
||||
|
Loading…
Reference in New Issue
Block a user