From 788c41203e994293b608768abfc5c0fbe15e5667 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Thu, 22 Apr 2021 13:34:17 -0400 Subject: [PATCH] Try GitHub Actions CI instead of Travis --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ .travis.yml | 7 ------- 2 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..70ced49 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a5b5b7..0000000 --- a/.travis.yml +++ /dev/null @@ -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/