Skip to content

Commit 9a2cd93

Browse files
authored
[CI] Integrate lychee action for links availability checks (#742)
1 parent 679d01d commit 9a2cd93

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ jobs:
1919
post_comment: false
2020
fail_on_find: true
2121

22+
link-check:
23+
if: github.repository == 'learning-process/parallel_programming_course'
24+
runs-on: ubuntu-24.04
25+
steps:
26+
- uses: actions/checkout@v6
27+
- name: Check links
28+
uses: lycheeverse/lychee-action@v2
29+
with:
30+
fail: true
31+
failIfEmpty: false
32+
2233
pre-commit:
2334
needs: check-file-sizes
2435
runs-on: ubuntu-24.04

.lycheeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore URL-encoded Jinja template placeholders from Sphinx HTML templates.
2+
# These are not real links and are resolved only during docs build.
3+
file://.*/%7B%7B.*%7D%7D.*

0 commit comments

Comments
 (0)