chore: Bump Lua version used in linter

This commit is contained in:
Caleb Maclennan 2022-03-19 17:34:28 +03:00
parent 989a5b1131
commit 8390d07774
No known key found for this signature in database
GPG Key ID: B538286DE04ECFE5

View File

@ -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 .