Skip to content

Commit 8e5b98a

Browse files
committed
ci: add lychee link checking
1 parent 046b21c commit 8e5b98a

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/check-links.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Check links
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
junit:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Check links
13+
id: lychee
14+
uses: lycheeverse/lychee-action@v2
15+
with:
16+
fail: false
17+
format: "junit"
18+
output: "results.xml"
19+
20+
- name: Publish link check report
21+
uses: mikepenz/action-junit-report@v6
22+
with:
23+
report_paths: "results.xml"
24+
annotate_only: true
25+
fail_on_failure: true

0 commit comments

Comments
 (0)