diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af5f8994..dac6a0f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index 9e065814..93d8e97a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/book.toml b/book.toml index 4520ddb1..ff305e3a 100644 --- a/book.toml +++ b/book.toml @@ -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' ]