Replace Travis CI with GitHub Actions (#158)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
parent
b67028a417
commit
3cfff98fc9
24
.github/workflows/build.yml
vendored
Normal file
24
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: build
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: actions/setup-python@master
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -qqq luarocks
|
||||||
|
- name: Install pre-commit
|
||||||
|
run: pip3 install pre-commit
|
||||||
|
|
||||||
|
- name: Install LuaCheck
|
||||||
|
run: luarocks install --local luacheck
|
||||||
|
|
||||||
|
- name: Run LuaCheck using pre-commit
|
||||||
|
run: |
|
||||||
|
pre-commit run --all-files
|
||||||
|
$HOME/.luarocks/bin/luacheck .
|
15
.travis.yml
15
.travis.yml
@ -1,15 +0,0 @@
|
|||||||
dist: bionic
|
|
||||||
language: python
|
|
||||||
|
|
||||||
python:
|
|
||||||
- 3.7.1
|
|
||||||
|
|
||||||
install:
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install -qqq luarocks
|
|
||||||
- pip3 install pre-commit
|
|
||||||
- luarocks install --local luacheck
|
|
||||||
|
|
||||||
script:
|
|
||||||
- pre-commit run --all-files
|
|
||||||
- $HOME/.luarocks/bin/luacheck .
|
|
@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
|
|
||||||
- Legacy Stairs+ conversion code.
|
- Legacy Stairs+ conversion code.
|
||||||
- It was only required to import worlds last edited before Q3 2013.
|
- It was only required to import worlds last edited before Q3 2013.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Switch to GitHub Actions.
|
||||||
|
- Benefits include faster responses.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# More Blocks
|
# More Blocks [![Build status](https://github.com/minetest-mods/moreblocks/workflows/build/badge.svg)](https://github.com/minetest-mods/moreblocks/actions)
|
||||||
|
|
||||||
More Blocks for [Minetest](https://www.minetest.net/), a free and open source infinite
|
More Blocks for [Minetest](https://www.minetest.net/), a free and open source infinite
|
||||||
world block sandbox game.
|
world block sandbox game.
|
||||||
|
Loading…
Reference in New Issue
Block a user