Skip to content

Commit

Permalink
fix
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 ab61437 commit 39e012d
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,19 @@ on:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v3

- name: Install Rust (required for Lychee)
- 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
- 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

0 comments on commit 39e012d

Please sign in to comment.