File tree Expand file tree Collapse file tree 2 files changed +9
-30
lines changed Expand file tree Collapse file tree 2 files changed +9
-30
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,19 @@ jobs:
11
11
run : rustup self update
12
12
- name : Install Rust
13
13
run : |
14
+ set -e
14
15
rustup set profile minimal
15
16
rustup toolchain install nightly -c rust-docs
16
17
rustup default nightly
17
18
- name : Install mdbook
18
19
run : |
20
+ set -e
19
21
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
21
23
echo "##[add-path]$(pwd)/bin"
22
24
- name : Report versions
23
25
run : |
26
+ set -ex
24
27
rustup --version
25
28
rustc -Vv
26
29
mdbook --version
29
32
- name : Check for unstable features
30
33
run : (cd stable-check && cargo run -- ../src)
31
34
- name : Check for broken links
32
- run : tests/linkcheck.sh
35
+ run : |
36
+ set -e
37
+ curl -sSLo linkcheck.sh \
38
+ https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
39
+ sh linkcheck.sh --all reference
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments