mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
ci: run linkchekcer from target dir
This helps us remove `src/doc` from `exclude` list in Cargo.toml
This commit is contained in:
parent
ff216ebc96
commit
3b8d744b44
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -196,11 +196,11 @@ jobs:
|
||||
env:
|
||||
RUSTDOCFLAGS: -D warnings
|
||||
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
|
||||
- run: |
|
||||
cd src/doc
|
||||
curl -sSLo linkcheck.sh \
|
||||
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
|
||||
sh linkcheck.sh --all cargo
|
||||
- name: Run linkchecker.sh
|
||||
run: |
|
||||
cd target
|
||||
curl -sSLO https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
|
||||
sh linkcheck.sh --all --path ../src/doc cargo
|
||||
|
||||
success:
|
||||
permissions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user