luasocket/.github/workflows/luacheck.yml
2022-03-19 17:13:15 +03:00

27 lines
447 B
YAML

name: Luacheck
on: [push, pull_request]
jobs:
luacheck:
runs-on: ubuntu-latest
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: leafo/gh-actions-luarocks@v4
- name: Setup dependencies
run: luarocks install luacheck
- name: Run Code Linter
run: |
luacheck .