mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-31 20:44:18 -04:00
Create ci.yml
This commit is contained in:
parent
ebbc1c5c17
commit
74c19c82fa
1 changed files with 32 additions and 0 deletions
32
.github/workflows/ci.yml
vendored
Normal file
32
.github/workflows/ci.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…
Add table
Add a link
Reference in a new issue