From 1211da654b9629a0aaee0640491b34e27bd2b444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Nevyho=C5=A1t=C4=9Bn=C3=BD?= Date: Thu, 15 Aug 2024 15:17:33 +0200 Subject: [PATCH] Add rustdoc check to CI --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f561cc..0868bf7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,6 +54,18 @@ jobs: run: cargo check working-directory: fuzz + check-doc: + name: Rustdoc check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - name: Cargo doc + env: + RUSTDOCFLAGS: -D warnings + run: cargo doc --no-deps --document-private-items --workspace + test: name: Test (${{ matrix.rust }}) runs-on: ubuntu-latest