Update main.yml

pull/464/head
nomicon-kr 10 months ago committed by GitHub
parent 7478504367
commit 57be76525e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,14 +24,18 @@ jobs:
id: cache
uses: actions/cache@v4.0.2
with:
path: ${GITHUB_WORKSPACE}/linkcheck.sh
path: ~/linkchecker
key: linkcheck-${{ runner.os }}
- name: Install linkcheck
- name: Install linkcheck and Check links
if: steps.cache.outputs.cache-hit != 'true'
run: |
curl -sSLo linkcheck.sh \
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
sh linkcheck.sh --all nomicon
- name: Check links
run: sh linkcheck.sh --all nomicon
if: steps.cache.outputs.cache-hit == 'true'
run: |
cd linkchecker
cargo run --release linkcheck

Loading…
Cancel
Save