Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/luacheck.yml22
1 files changed, 6 insertions, 16 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml
index 20b706c..2f20456 100644
--- a/.github/workflows/luacheck.yml
+++ b/.github/workflows/luacheck.yml
@@ -3,21 +3,11 @@ 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: leafo/gh-actions-luarocks@v4
- - name: Setup dependencies
- run: luarocks install luacheck
- - name: Run Code Linter
- run: |
- luacheck .
- luarocks lint *.rockspec
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: Luacheck
+ uses: lunarmodules/luacheck@v0