From e7b3e9540ba8464480836b2300740ce66306f346 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:40:06 +0800 Subject: [PATCH] add check link Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/check-links.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index b4c983a91..d27b7c38b 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -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 \ No newline at end of file