mirror of
https://github.com/LoneWolfHT/grenades.git
synced 2024-11-28 09:43:47 +01:00
Add LuaCheck in a GitHub workflow
This commit is contained in:
parent
4cfce9a9b4
commit
54cb7449cf
16
.github/workflows/build.yml
vendored
Normal file
16
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: build
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
luacheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install Luarocks
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -qyy
|
||||||
|
sudo apt-get install luarocks -qyy
|
||||||
|
- name: Install Luacheck
|
||||||
|
run: luarocks install --local luacheck
|
||||||
|
- name: Run Luacheck
|
||||||
|
run: $HOME/.luarocks/bin/luacheck .
|
Loading…
Reference in New Issue
Block a user