Skip to content

Commit ed85d21

Browse files
sirhceleldruin
authored andcommitted
Add automatic link checks for CI
1 parent bf6023c commit ed85d21

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@ jobs:
4141
- name: Lint | clippy
4242
run: cargo clippy --all-targets --all-features
4343

44+
# --------------------------------------------------------------------------
45+
# Link checks
46+
47+
links:
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Links | checkout
51+
uses: actions/checkout@v2
52+
53+
- name: Links | check
54+
id: lychee
55+
uses: lycheeverse/lychee-action@v2
56+
with:
57+
fail: true
58+
4459
# --------------------------------------------------------------------------
4560
# MSRV
4661
#

.lycheeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore links to issues on GitLab which are no longer reachable since we
2+
# disabled bug tracking over there.
3+
https://gitlab.com/susurrus/serialport-rs/(-/)?merge_requests/\d+

0 commit comments

Comments
 (0)