Skip to content

Commit

Permalink
add luacheck and mod.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Jun 1, 2021
1 parent 6d94fd0 commit bce5920
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/luacheck.yml
@@ -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 ./
11 changes: 11 additions & 0 deletions .luacheckrc
@@ -0,0 +1,11 @@
unused_args = false

globals = {
"minetest",
}

read_globals = {
"default",
"walls",
"doors",
}
4 changes: 3 additions & 1 deletion README.md
@@ -1,4 +1,6 @@
# Ice stuff [ice]
# Ice nodes [ice]

[![luacheck](https://github.com/mt-mods/ice/workflows/luacheck/badge.svg)](https://github.com/mt-mods/ice/actions)

Ice nodes from terumisc

Expand Down
3 changes: 3 additions & 0 deletions mod.conf
@@ -0,0 +1,3 @@
name = ice
description = Adds more ice nodes
depends = default, walls, doors

0 comments on commit bce5920

Please sign in to comment.