Skip to content

Commit ee509d5

Browse files
authored
Merge pull request #765 from ehuss/linkcheck-script
Use common script for link checking.
2 parents ad70a40 + 5b8fed8 commit ee509d5

File tree

2 files changed

+5
-30
lines changed

2 files changed

+5
-30
lines changed

.github/workflows/main.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install mdbook
1818
run: |
1919
mkdir bin
20-
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.3.4/mdbook-v0.3.4-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
20+
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.3.5/mdbook-v0.3.5-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
2121
echo "##[add-path]$(pwd)/bin"
2222
- name: Report versions
2323
run: |
@@ -29,4 +29,7 @@ jobs:
2929
- name: Check for unstable features
3030
run: (cd stable-check && cargo run -- ../src)
3131
- name: Check for broken links
32-
run: tests/linkcheck.sh
32+
run: |
33+
curl -sSLo linkcheck.sh \
34+
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
35+
sh linkcheck.sh --all reference

tests/linkcheck.sh

-28
This file was deleted.

0 commit comments

Comments
 (0)