Add CI action to check for broken links

This commit is contained in:
Harvester57
2022-07-31 19:38:43 +02:00
parent 3e8724b52c
commit da285806b3
2 changed files with 45 additions and 0 deletions

18
.github/workflows/links-fail-fast.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Links (Fail Fast)
on:
push:
pull_request:
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Link Checker
uses: lycheeverse/lychee-action@v1.5.0
with:
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}