11 - uses: actions/checkout@master
13 run: rustup self update
16 rustup set profile minimal
17 rustup toolchain install nightly -c rust-docs
18 rustup default nightly
19 - name: Install mdbook
22 curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
23 echo "$(pwd)/bin" >> $GITHUB_PATH
24 - name: Report versions
32 run: (cd style-check && cargo run -- ../src)
33 - name: Check for broken links
35 curl -sSLo linkcheck.sh \
36 https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
37 sh linkcheck.sh --all reference