Check URLs #2
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: Check URLs | |
on: | |
schedule: | |
- cron: '0 8 * * 0' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- name: Install awesome_bot | |
run: gem install awesome_bot -v 1.20.0 | |
- name: Check URLs | |
run: awesome_bot defi/src/protocols/* --allow-redirect --request-delay 0.2 |