From a60e6a29f9b2b1ced7c68dad758e6eefb1c537be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Wed, 14 Feb 2024 17:29:47 +0100 Subject: [PATCH] add doc to ci --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d759ee..7a78820 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,3 +53,27 @@ jobs: uses: actions-rs/cargo@v1 with: command: bench + + doc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/cargo@v1 + with: + command: install + args: | + cargo-deadlinks + - name: cargo doc + uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps + - name: cargo deadlinks + uses: actions-rs/cargo@v1 + with: + command: deadlinks + args: --ignore-fragments --check-intra-doc-links