mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-14 03:33:50 +01:00
17 lines
388 B
YAML
17 lines
388 B
YAML
|
name: build
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
luacheck:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- 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 mods
|