From f44e9b5bc861b6f56a912c4913b02d88689f5255 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 9 Jan 2025 12:31:58 -0800 Subject: [PATCH] ci: Deny warnings in `cargo doc` call This should allow CI to catch future breakage of intra-doc links and other documentation issues. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b28c6d0bbc69..5e7dec0195c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -410,7 +410,7 @@ jobs: - name: Build Documentation env: - RUSTDOCFLAGS: --cfg=docsrs + RUSTDOCFLAGS: --cfg=docsrs -D warnings run: cargo doc --no-deps --features "test_all_features" -p smithay -p calloop:0.14 -p drm -p gbm -p input -p udev -p wayland-server -p wayland-backend -p wayland-protocols -p winit -p x11rb -p tracing - name: Setup index