Create validate_urls.yml

This commit is contained in:
mia von steinkirch, phd 2022-12-26 07:49:20 -08:00 committed by GitHub
parent 86a6f0c7ab
commit d8a739b4f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,31 @@
name: 👾 validate links
on: [push, pull_request]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: install awesome_bot
run: gem install awesome_bot
- name: validate URLs
run: awesome_bot README.md --allow-redirect --request-delay 0.4