File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 test :
1111 name : build and test
12- env :
13- MDBOOK_LINKCHECK_VERSION : 0.7.0
1412 runs-on : ubuntu-latest
1513 steps :
1614 - uses : actions/checkout@v2
1715 - name : Install Rust
1816 run : rustup update stable && rustup default stable
1917 - run : sudo apt-get update && sudo apt-get install aspell aspell-en
20- - name : Install mdbook and mdbook-linkcheck
21- run : |
22- tag=$(curl -LsSf https://api.github.com/repos/rust-lang/mdBook/releases/latest | jq -r '.tag_name')
23- curl -LsSf https://github.com/rust-lang/mdBook/releases/download/$tag/mdbook-$tag-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
24- curl -LsSf https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v${MDBOOK_LINKCHECK_VERSION}/mdbook-linkcheck-v${MDBOOK_LINKCHECK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
25- echo $(pwd) >> $GITHUB_PATH
18+ - name : Install mdbook
19+ uses : taiki-e/install-action@mdbook
20+ - name : Install mdbook-linkcheck
21+ uses : taiki-e/install-action@mdbook-linkcheck
2622 - run : bash ci/spellcheck.sh list
2723 - run : mdbook build
2824 - run : cargo test --all --manifest-path=./examples/Cargo.toml --target-dir ./target
You can’t perform that action at this time.
0 commit comments