Updates: CI to github

* Create check-release.yml
* Update README.md - change/add badges
* Update init.lua - removed unused var causing warning!
* Delete .travis.yml
master
shivajiva101 2021-12-11 21:36:56 +00:00 committed by GitHub
parent 96eb4f4cb8
commit adb7e3b7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 15 deletions

11
.github/workflows/check-release.yml vendored Normal file
View File

@ -0,0 +1,11 @@
on: [push, pull_request]
name: Check & Release
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: lint
uses: Roang-zero1/factorio-mod-luacheck@master
with:
luacheckrc_url: https://raw.githubusercontent.com/shivajiva101/sban/master/.luacheckrc

View File

@ -1,12 +0,0 @@
language: generic
sudo: false
addons:
apt:
packages:
- luarocks
before_install:
- luarocks install --local luacheck
script:
- $HOME/.luarocks/bin/luacheck --no-color .
notifications:
email: false

View File

@ -1,6 +1,6 @@
# sban
[![Build Status](https://travis-ci.org/shivajiva101/sban.svg?branch=master)](https://travis-ci.org/shivajiva101/sban)
[![Build status](https://github.com/shivajiva101/sban/workflows/Check%20&%20Release/badge.svg)](https://github.com/shivajiva101/sban/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
This mod is based on the concepts introduced by xban2, and expands on them
by using an sql database instead of a serialised table file. This approach to

View File

@ -1438,7 +1438,7 @@ end
process_expired_bans() -- trigger on mod load
local function data_integrity_check()
local r, q = {}
local q
minetest.log("action", "[sban] Data integrity check...")
q = [[SELECT
active.id,