mirror of
https://github.com/OgelGames/powerbanks.git
synced 2024-11-22 07:13:50 +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]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@master
|
||||
- name: apt
|
||||
run: sudo apt-get install -y luarocks
|
||||
- name: luacheck install
|
12
.luacheckrc
12
.luacheckrc
@ -1,21 +1,13 @@
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
|
||||
globals = {
|
||||
"minetest",
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
-- Builtin
|
||||
"vector", "ItemStack",
|
||||
"dump", "DIR_DELIM", "VoxelArea", "Settings",
|
||||
|
||||
-- MTG
|
||||
"default", "sfinv", "creative",
|
||||
"ItemStack",
|
||||
|
||||
-- Mod Deps
|
||||
"technic"
|
||||
"technic",
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 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)
|
||||
[![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/)
|
||||
|
Loading…
Reference in New Issue
Block a user