From 2a61e436fb7b57c48e272de692b5b202357ae483 Mon Sep 17 00:00:00 2001 From: Etienne Wodey Date: Fri, 29 Nov 2024 23:50:52 +0100 Subject: [PATCH] workflows/main: error on warnings during rustworkx-core doc build --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5579fb21a6..f635c608e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,8 @@ jobs: run: pushd rustworkx-core && cargo test && popd - name: rustworkx-core Docs run: pushd rustworkx-core && cargo doc && popd + env: + RUSTDOCFLAGS: '-D warnings' - uses: actions/upload-artifact@v4 with: name: rustworkx_core_docs