Update to github action

- Move repository to
  https://github.com/louisroyer-minetest/toolranks-extras
This commit is contained in:
Louis Royer 2022-06-21 13:39:54 +02:00
parent 4f2c388432
commit 7b76144329
No known key found for this signature in database
GPG Key ID: DCDDAB6B0DB85D88
5 changed files with 44 additions and 20 deletions

5
.gitattributes vendored Normal file

@ -0,0 +1,5 @@
.gitattributes export-ignore
.gitignore export-ignore
.github export-ignore
.pre-commit-config.yaml export-ignore
.luacheckrc export-ignore

7
.github/dependabot.yml vendored Normal file

@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

30
.github/workflows/main.yml vendored Normal file

@ -0,0 +1,30 @@
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
uses: lunarmodules/luacheck@v0
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 'pypy3.9'
- uses: pre-commit/action@v3.0.0

@ -1,18 +0,0 @@
language: python
sudo: false
addons:
apt:
packages:
- luarocks
cache:
timeout: 1000
directories:
- $HOME/.luarocks
before_install:
- luarocks install --local luacheck
- pip3 install pre-commit
script:
- pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck .
notifications:
email: false

@ -1,6 +1,6 @@
# minetest-toolranks-extras # Toolranks Extras
[![Build Status](https://travis-ci.org/louisroyer/minetest-toolranks-extras.svg?branch=master)](https://travis-ci.org/louisroyer/minetest-toolranks-extras) [![ContentDB](https://content.minetest.net/packages/louisroyer/toolranks_extras/shields/title/)](https://content.minetest.net/packages/louisroyer/toolranks_extras/) [![ContentDB](https://content.minetest.net/packages/louisroyer/toolranks_extras/shields/downloads/)](https://content.minetest.net/packages/louisroyer/toolranks_extras/) ![Build Status](https://github.com/louisroyer-minetest/toolranks-extras/actions/workflows/main.yml/badge.svg) [![ContentDB](https://content.minetest.net/packages/louisroyer/toolranks_extras/shields/title/)](https://content.minetest.net/packages/louisroyer/toolranks_extras/) [![ContentDB](https://content.minetest.net/packages/louisroyer/toolranks_extras/shields/downloads/)](https://content.minetest.net/packages/louisroyer/toolranks_extras/)
This minetest mod extends [toolranks](https://github.com/lisacvuk/minetest-toolranks). It adds support for `minetest-games`s mods (except `default`). This minetest mod extends [toolranks](https://github.com/lisacvuk/minetest-toolranks). It adds support for `minetest-games`s mods (except `default`).
This mod currently adds support for hoes from `farming` mod. This mod currently adds support for hoes from `farming` mod.