luasocket/.github/workflows/luacheck.yml

20 lines
419 B
YAML
Raw Normal View History

name: Luacheck
on: [push, pull_request]
jobs:
2022-03-19 15:34:28 +01:00
luacheck:
runs-on: ubuntu-20.04
steps:
- name: Checkout
2022-03-19 15:34:28 +01:00
uses: actions/checkout@v3
- name: Setup lua
uses: leafo/gh-actions-lua@v9
- name: Setup luarocks
uses: leafo/gh-actions-luarocks@v4
2022-03-19 15:34:28 +01:00
- name: Setup luacheck
run: luarocks install luacheck
2022-03-19 15:34:28 +01:00
- name: Run luacheck linter
run: luacheck .