mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-04-27 19:26:15 -04:00
Create validate_urls.yml
This commit is contained in:
parent
4e68c1e6a9
commit
70b1f76a71
32
.github/workflows/validate_urls.yml
vendored
Normal file
32
.github/workflows/validate_urls.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user