Skip to content

Commit

Permalink
add check link
Browse files Browse the repository at this point in the history
Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu committed Oct 16, 2024
1 parent 39e012d commit e7b3e95
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v3
- name: Install Rust (required for Lychee)
run: sudo apt update && sudo apt install -y curl build-essential && curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Add Rust to PATH
run: source $HOME/.cargo/env
- name: Install Lychee
run: cargo install lychee
- name: Run Lychee to check links
run: lychee --verbose --all
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
args: --verbose

0 comments on commit e7b3e95

Please sign in to comment.