diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml new file mode 100644 index 0000000..8d3c1fc --- /dev/null +++ b/.github/workflows/tester.yml @@ -0,0 +1,20 @@ +name: Tester + +on: [push, pull_request] + +permissions: + contents: read + +jobs: + tester: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Install Dependencies + run: gem install awesome_bot + - name: Test + run: awesome_bot README.md --allow-redirect --allow-dupe -w weibo.com,viosey.com,hackernoon.com diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 904dfbf..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: ruby -rvm: - - 2.2 -before_script: - - gem install awesome_bot -script: - - awesome_bot README.md --allow-redirect --allow-dupe -w weibo.com,viosey.com,hackernoon.com diff --git a/README.md b/README.md index 96c082a..42d43d6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Hexo logo -# Awesome Hexo [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Build Status](https://api.travis-ci.org/hexojs/awesome-hexo.svg?branch=master)](https://travis-ci.org/hexojs/awesome-hexo) +# Awesome Hexo [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Build Status](https://github.com/hexojs/awesome-hexo/workflows/Tester/badge.svg)](https://github.com/hexojs/awesome-hexo/actions?query=workflow%3ATester) > A curated list of awesome things related to Hexo