Create validate_urls.yml

This commit is contained in:
mia von steinkirch, phd 2022-12-23 18:36:33 -08:00 committed by GitHub
parent 4e68c1e6a9
commit 70b1f76a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

32
.github/workflows/validate_urls.yml vendored Normal file
View File

@ -0,0 +1,32 @@
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