From 20aa777f683f85509b9b2ca2117a0f6a0105be70 Mon Sep 17 00:00:00 2001 From: sleepycatcoding <131554884+sleepycatcoding@users.noreply.github.com> Date: Fri, 5 Apr 2024 00:22:36 +0300 Subject: [PATCH] ci: run extra clippy step without tests --- .github/workflows/test_rust.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index d6404f49d..a3f9d4152 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -129,10 +129,14 @@ jobs: - name: Check formatting run: cargo fmt --all -- --check - - name: Check clippy + - name: Check clippy (with tests) # Don't fail the build for clippy on nightly, since we get a lot of false-positives run: cargo clippy --all --all-features --tests ${{ (matrix.rust_version != 'nightly' && '-- -D warnings') || '' }} + - name: Check clippy (without tests) + # Don't fail the build for clippy on nightly, since we get a lot of false-positives + run: cargo clippy --all --all-features ${{ (matrix.rust_version != 'nightly' && '-- -D warnings') || '' }} + - name: Check documentation run: cargo doc --no-deps --all-features env: