Replace Travis CI with GitHub Actions (#211)

master
David Leal 2020-06-23 14:37:40 -05:00 committed by GitHub
parent 54028c8082
commit 4068c89d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 17 deletions

25
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: build
on: [push, pull_request]
env:
global:
NOKOGIRI_USE_SYSTEM_LIBRARIES=true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Ruby
uses: ruby/setup-ruby@master
with:
ruby-version: 2.6.3
- name: Install dependencies
run: |
sudo apt-get install libcurl4-openssl-dev
bundle install --jobs=3 --retry=3 --deployment
- name: Run tests
run: |
bundle exec jekyll build
bundle exec htmlproofer '_site/' --allow-hash-href --check-html --http-status-ignore 0

View File

@ -1,17 +0,0 @@
language: ruby
rvm:
- 2.6.3
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
addons:
apt:
packages:
- libcurl4-openssl-dev # required to avoid SSL errors
script:
- bundle exec jekyll build
- bundle exec htmlproofer '_site/' --allow-hash-href --check-html --http-status-ignore 0

View File

@ -1,5 +1,6 @@
# www.minetest.net
[![Build status](https://github.com/minetest/minetest.github.io/workflows/build/badge.svg)](https://github.com/minetest/minetest.github.io/actions)\
The official Minetest website, living at [www.minetest.net](https://www.minetest.net).
## Features