Skip to content

Commit

Permalink
clippy: add back global allowlisted false positive clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OverOrion committed Aug 11, 2023
1 parent f1d0912 commit befbf03
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit befbf03

Please sign in to comment.