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:
authorCaleb Maclennan <caleb@alerque.com>2022-03-24 15:21:29 +0300
committerGitHub <noreply@github.com>2022-03-24 15:21:29 +0300
commita7b9f888cd72dfa875e3b7cc3b88be632f567d79 (patch)
tree764e9d487596bd789a04e5acbfa8836c37e1efeb
parent128f015da7670349301a96d9fd1f70a7167ba534 (diff)
chore(ci) Utilize new upstream Luacheck Action (#425)
-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