Skip to content

Commit 8e6bbee

Browse files
authored
Merge pull request #257 from unixorn/add-readme-link-checker
Add awesomebot github action
2 parents d9332a6 + ba1891e commit 8e6bbee

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ jobs:
5050
- name: Run shfmt
5151
run: find . -name '*.sh' | xargs shfmt -s -d
5252

53+
check-hyperlinks:
54+
name: Check links in README.md
55+
runs-on: ubuntu-20.04
56+
timeout-minutes: 20
57+
steps:
58+
- uses: actions/checkout@v2
59+
with:
60+
fetch-depth: 1
61+
- uses: docker://dkhamsing/awesome_bot:latest
62+
with:
63+
args: /github/workspace/README.md --allow-dupe --allow-redirect --request-delay 1 --white-list https://img.shields.io,http://127.0.0.1:8080,https://github.com/lima-vm/lima/releases/download
64+
5365
basic:
5466
name: Basic tests
5567
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)