mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-12-26 18:30:21 +01:00
Replace Travis CI with GitHub Actions (#51)
This commit is contained in:
parent
5be4ccb23f
commit
041abf66a5
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@v3
|
||||
- uses: actions/setup-python@v4
|
||||
|
||||
- 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 .
|
16
.travis.yml
16
.travis.yml
@ -1,16 +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:
|
||||
# All linters are run with pre-commit hooks
|
||||
- export PATH="$HOME/.luarocks/bin:$PATH"
|
||||
- pre-commit run --all-files
|
@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
single node in one chunk.
|
||||
- The same overall ore density is retained in the deep layer.
|
||||
|
||||
- Switch to GitHub Actions.
|
||||
- Benefits include faster responses, easier management, and more.
|
||||
|
||||
## [2.1.0] - 2021-06-28
|
||||
|
||||
### Added
|
||||
|
Loading…
Reference in New Issue
Block a user