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] on: [push, pull_request]
jobs: jobs:
luacheck:
runs-on: ubuntu-latest
luacheck:
runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup lua
- name: Setup Lua uses: leafo/gh-actions-lua@v9
uses: leafo/gh-actions-lua@v8 - name: Setup luarocks
with:
luaVersion: 5.4
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v4 uses: leafo/gh-actions-luarocks@v4
- name: Setup luacheck
- name: Setup dependencies
run: luarocks install luacheck run: luarocks install luacheck
- name: Run luacheck linter
- name: Run Code Linter run: luacheck .
run: |
luacheck .