Switched travis.ci with Github Actions #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Awesome-(Ro)Bot | |
on: | |
pull_request: | |
branches: [ '*' ] | |
push: | |
branches: [ '*' ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install gem | |
run: gem install awesome_bot | |
- name: Check links | |
run: | | |
awesome_bot README.md --allow-dupe |