Skip to content

Commit

Permalink
chore: use GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Mar 28, 2024
1 parent de7a038 commit b0ba563
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img src="https://raw.githubusercontent.com/hexojs/logo/master/hexo-logo-avatar.png" alt="Hexo logo" width="100" height="100" align="right" />

# 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
Expand Down

0 comments on commit b0ba563

Please sign in to comment.