mirror of
https://github.com/OgelGames/powerbanks.git
synced 2024-11-22 15:23:48 +01:00
update luacheck workflow
- change from `v1` to `master` - rename build to luacheck - remove stuff from luacheck config
This commit is contained in:
parent
89d27b507c
commit
17624ac0f9
@ -1,10 +1,10 @@
|
|||||||
name: Build
|
name: luacheck
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@master
|
||||||
- name: apt
|
- name: apt
|
||||||
run: sudo apt-get install -y luarocks
|
run: sudo apt-get install -y luarocks
|
||||||
- name: luacheck install
|
- name: luacheck install
|
12
.luacheckrc
12
.luacheckrc
@ -1,21 +1,13 @@
|
|||||||
unused_args = false
|
unused_args = false
|
||||||
allow_defined_top = true
|
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
"minetest",
|
"minetest",
|
||||||
}
|
}
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
string = {fields = {"split"}},
|
|
||||||
table = {fields = {"copy", "getn"}},
|
|
||||||
|
|
||||||
-- Builtin
|
-- Builtin
|
||||||
"vector", "ItemStack",
|
"ItemStack",
|
||||||
"dump", "DIR_DELIM", "VoxelArea", "Settings",
|
|
||||||
|
|
||||||
-- MTG
|
|
||||||
"default", "sfinv", "creative",
|
|
||||||
|
|
||||||
-- Mod Deps
|
-- Mod Deps
|
||||||
"technic"
|
"technic",
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Powerbanks [powerbanks]
|
# Powerbanks [powerbanks]
|
||||||
|
|
||||||
[![Build](https://github.com/OgelGames/powerbanks/workflows/Build/badge.svg)](https://github.com/OgelGames/powerbanks/actions)
|
[![luacheck](https://github.com/OgelGames/powerbanks/workflows/luacheck/badge.svg)](https://github.com/OgelGames/powerbanks/actions)
|
||||||
[![License](https://img.shields.io/badge/License-MIT%20and%20CC%20BY--SA%204.0-green.svg)](LICENSE.md)
|
[![License](https://img.shields.io/badge/License-MIT%20and%20CC%20BY--SA%204.0-green.svg)](LICENSE.md)
|
||||||
[![Minetest%20Forum](https://img.shields.io/badge/Minetest%20Forum-Feedback-lightgrey.svg)](https://forum.minetest.net/viewtopic.php?t=23791)
|
[![Minetest%20Forum](https://img.shields.io/badge/Minetest%20Forum-Feedback-lightgrey.svg)](https://forum.minetest.net/viewtopic.php?t=23791)
|
||||||
[![ContentDB](https://content.minetest.net/packages/OgelGames/powerbanks/shields/downloads/)](https://content.minetest.net/packages/OgelGames/powerbanks/)
|
[![ContentDB](https://content.minetest.net/packages/OgelGames/powerbanks/shields/downloads/)](https://content.minetest.net/packages/OgelGames/powerbanks/)
|
||||||
|
Loading…
Reference in New Issue
Block a user