mirror of
https://github.com/mt-mods/basic_materials.git
synced 2024-11-21 21:53:43 +01:00
github luacheck workflow
This commit is contained in:
parent
cb713668d2
commit
0893974b05
13
.github/workflows/luacheck.yml
vendored
Normal file
13
.github/workflows/luacheck.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
name: luacheck
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: apt
|
||||||
|
run: sudo apt-get install -y luarocks
|
||||||
|
- name: luacheck install
|
||||||
|
run: luarocks install --local luacheck
|
||||||
|
- name: luacheck run
|
||||||
|
run: $HOME/.luarocks/bin/luacheck ./
|
@ -1,8 +0,0 @@
|
|||||||
stages:
|
|
||||||
- test
|
|
||||||
|
|
||||||
luacheck:
|
|
||||||
stage: test
|
|
||||||
image: pipelinecomponents/luacheck:latest
|
|
||||||
script:
|
|
||||||
- luacheck .
|
|
Loading…
Reference in New Issue
Block a user