From 4598e872252421101ffb28891b492a0ade14142d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 Jan 2025 19:57:54 -0500 Subject: [PATCH] make sure doc warnings cause test failures too --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b7beaaf..2c441df 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -65,5 +65,5 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - - run: cargo doc + - run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features - run: cargo test --doc --all-features