mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 22:38:21 +01:00
20 lines
419 B
YAML
20 lines
419 B
YAML
name: Luacheck
|
||
|
||
on: [push, pull_request]
|
||
|
||
jobs:
|
||
|
||
luacheck:
|
||
runs-on: ubuntu-20.04
|
||
steps:
|
||
- name: Checkout
|
||
uses: actions/checkout@v3
|
||
- name: Setup ‘lua’
|
||
uses: leafo/gh-actions-lua@v9
|
||
- name: Setup ‘luarocks’
|
||
uses: leafo/gh-actions-luarocks@v4
|
||
- name: Setup ‘luacheck’
|
||
run: luarocks install luacheck
|
||
- name: Run ‘luacheck’ linter
|
||
run: luacheck .
|