File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,27 @@ jobs:
1111 run : rustup self update
1212 - name : Install Rust
1313 run : |
14+ set -e
1415 rustup set profile minimal
1516 rustup toolchain install nightly -c rust-docs
16- rustup default nightly
17+ rustup default nightly
1718 - name : Install mdbook
1819 run : |
20+ set -e
1921 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
22+ 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
2123 echo "##[add-path]$(pwd)/bin"
2224 - name : Report versions
2325 run : |
26+ set -ex
2427 rustup --version
2528 rustc -Vv
2629 mdbook --version
2730 - name : Run tests
28- run : mdbook test
31+ run : mdbook test
32+ - name : Check for broken links
33+ run : |
34+ set -e
35+ curl -sSLo linkcheck.sh \
36+ https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
37+ sh linkcheck.sh --all edition-guide
You can’t perform that action at this time.
0 commit comments