From befbf03e60fbe5d54ee42a2ab8b6f5da3d931302 Mon Sep 17 00:00:00 2001 From: Szilard Parrag Date: Fri, 11 Aug 2023 16:55:38 +0200 Subject: [PATCH] clippy: add back global allowlisted false positive clippy lint --- .github/workflows/build_and_test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3ba5681b..d7bf94fa 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -123,19 +123,19 @@ jobs: run: rustup show && cd enclave-runtime && rustup show - name: Clippy default features - run: cargo clippy -- -D warnings + run: cargo clippy -- -D warnings -A clippy::redundant-closure-call - name: Enclave # Enclave is separate as it's not in the workspace - run: cd enclave-runtime && cargo clippy -- -D warnings + run: cd enclave-runtime && cargo clippy -- -D warnings -A clippy::redundant-closure-call - name: Clippy with Teeracle feature run: | - cargo clippy --features teeracle -- -D warnings - cd enclave-runtime && cargo clippy --features teeracle -- -D warnings + cargo clippy --features teeracle -- -D warnings -A clippy::redundant-closure-call + cd enclave-runtime && cargo clippy --features teeracle -- -D warnings -A clippy::redundant-closure-call - name: Clippy with Offchain-worker feature run: | - cargo clippy --features offchain-worker -- -D warnings - cd enclave-runtime && cargo clippy --features offchain-worker -- -D warnings + cargo clippy --features offchain-worker -- -D warnings -A clippy::redundant-closure-call + cd enclave-runtime && cargo clippy --features offchain-worker -- -D warnings -A clippy::redundant-closure-call - name: Fail-fast; cancel other jobs if: failure()