From 96f4a8b455f8506491cd24162b7505b5a18d2ff4 Mon Sep 17 00:00:00 2001 From: Augusto Hack Date: Tue, 5 Mar 2024 20:32:43 +0100 Subject: [PATCH] ci: turn doc warnings into errors (#259) --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89ffaea71..409295f92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,14 @@ jobs: uses: actions-rs/cargo@v1 with: command: doc - args: ${{matrix.args}} + args: + - name: Check docs + uses: actions-rs/cargo@v1 + env: + RUSTDOCFLAGS: -D warnings + with: + command: doc + args: --verbose --keep-going ${{matrix.args}} test: name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}}