-
Notifications
You must be signed in to change notification settings - Fork 4.4k
56 lines (47 loc) · 1.03 KB
/
validator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Validator
on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
- synchronize
env:
RUBY_VERSION: '2.6'
defaults:
run:
shell: bash
jobs:
validator:
name: Validator
runs-on: ubuntu-latest
steps:
- id: setup-ruby
name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- id: checkout
name: Checkout
uses: actions/checkout@v2
- id: install-gem
name: Install gem
run: |
gem install awesome_bot
- id: validate
name: Validate
run: |
awesome_bot README.md --request-delay 0.5 --allow-timeout --allow-redirect
- id: upload-artifact
name: Upload artifact
uses: actions/upload-artifact@v2
if: failure()
with:
if-no-files-found: warn
name: ab-results
path: |
ab-results-README.md.json
ab-results-README.md-filtered.json
ab-results-README.md-markdown-table.json