Skip to content

Commit ceb40e2

Browse files
authored
Add luacheck GitHub integration (#62)
1 parent 5e36597 commit ceb40e2

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/check-release.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
on: [push, pull_request]
2+
name: Check & Release
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: lint
9+
uses: Roang-zero1/factorio-mod-luacheck@master
10+
with:
11+
luacheckrc_url: https://raw.githubusercontent.com/minetest-mods/irc/master/.luacheckrc

.luacheckrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
allow_defined_top = true
33

44
read_globals = {
5-
"minetest",
5+
"minetest"
66
}
77

88
exclude_files = {

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![](https://github.com/minetest-mods/irc/workflows/Check%20&%20Release/badge.svg)](https://github.com/minetest-mods/irc/actions)
12

23
IRC Mod for Minetest
34
====================

0 commit comments

Comments
 (0)