From 873dcf410032bea6f630b8dfc51ef591c76dee49 Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Thu, 2 Jun 2022 13:57:22 +0200 Subject: [PATCH] add rustdoc and clippy to githubs workflow --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 143ac2b6d..1b086ce0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: - run: cargo check --no-default-features - run: cargo check --no-default-features --features "use_alloc" - run: cargo test + - run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features + - run: cargo clippy --all -- -Dwarnings # https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149 end-success: