Try GitHub Actions CI instead of Travis

This commit is contained in:
Caleb Xu 2021-04-22 13:34:17 -04:00
parent 49a1f0de2b
commit 788c41203e
No known key found for this signature in database
GPG Key ID: 2F67B6BC86DC4F00
2 changed files with 21 additions and 7 deletions

21
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: GitHub Actions CI
on:
push:
branches: master
pull_request:
jobs:
check_links:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check links
id: lychee
uses: lycheeverse/lychee-action@v1.0.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check lychee exit code
run: exit ${{ steps.lychee.outputs.exit_code }}

View File

@ -1,7 +0,0 @@
language: ruby
rvm:
- 2.7.1
before_script:
- gem install awesome_bot
script:
- awesome_bot --request-delay 1 --files README.md,README_ZH-CN.md --white-list https://transfer.sh/