File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,27 @@ 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
- rustup default nightly
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
27
30
- 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