| - uses: actions/checkout@master |
| rustup set profile minimal |
| rustup toolchain install 1.59 -c rust-docs |
| 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 |
| echo "$(pwd)/bin" >> ${GITHUB_PATH} |
| - uses: actions/checkout@master |
| rustup set profile minimal |
| rustup toolchain install nightly -c rust-docs |
| rustup override set nightly |
| 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 |
| echo "$(pwd)/bin" >> ${GITHUB_PATH} |
| run: sudo apt-get install aspell |
| - name: Install shellcheck |
| run: sudo apt-get install shellcheck |
| run: find . -name '*.sh' | xargs shellcheck |
| run: bash ci/spellcheck.sh list |
| - name: Lint for local file paths |
| - name: Validate references |
| - name: Check for broken links |
| curl -sSLo linkcheck.sh \ |
| https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh |
| # Cannot use --all here because of the generated redirect pages aren't available. |