Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ jobs:
name: build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Install mdbook
uses: taiki-e/install-action@mdbook
- name: Install mdbook-linkcheck
uses: taiki-e/install-action@mdbook-linkcheck
uses: taiki-e/install-action@v2
with:
tool: mdbook
- name: Install mdbook-linkcheck2
uses: taiki-e/install-action@v2
with:
tool: mdbook-linkcheck2
fallback: cargo-install
- run: mdbook build
- run: cargo test --all --manifest-path=./examples/Cargo.toml --target-dir ./target
- uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The async book is built with [`mdbook`] ([docs](https://rust-lang.github.io/mdBo

```
cargo install mdbook
cargo install mdbook-linkcheck
cargo install mdbook-linkcheck2
```

[`mdbook`]: https://github.com/rust-lang/mdBook
Expand Down
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ create-missing = false
git-repository-url = "https://github.com/rust-lang/async-book"
site-url = "/async-book/"

[output.linkcheck]
[output.linkcheck2]
follow-web-links = true
traverse-parent-directories = false
exclude = [ 'blog\.cloudflare\.com' ]
Loading