From c5cc24c63bb6d2a3dcc00be4b5f3e2b15e465173 Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Thu, 2 Jun 2022 13:57:22 +0200 Subject: [PATCH] add rustfmt, rustdoc and clippy to githubs workflow --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 143ac2b6d..9b36214ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,12 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@stable + - run: cargo fmt --all -- --check - 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: