Skip to content

Commit

Permalink
Add a link checker. (#17)
Browse files Browse the repository at this point in the history
Add a link-checker so we don't accidentally commit a broken URL. (And
will flag up when a link becomes outdated.)

## Relates to
* #11

(but does not solve entirely)
  • Loading branch information
samcunliffe authored Nov 6, 2023
1 parent 9878ed7 commit c4d569f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Check for broken links with lychee
name: Link Check

on:
push:
branches:
- main
pull_request:

jobs:
link-check:
timeout-minutes: 2
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Link Checker
id: lychee
uses: lycheeverse/[email protected]
with:
args: "--verbose -- ."
fail: true
jobSummary: true

0 comments on commit c4d569f

Please sign in to comment.