From 5bd233a6ab3359950fe9b85797e03df14bf2e3ec Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Wed, 10 May 2023 16:01:55 +0100 Subject: [PATCH] feat: add env var CARGO_INCREMENTAL before running clippy The command: ``` cargo clippy --all-targets -- -D clippy::pedantic ``` shows more errors when the CARGO_INCREMENTAL env var is 0. For unknown reason. --- .github/workflows/develop.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index dd7a40f5..2ee931b2 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -18,7 +18,9 @@ jobs: - name: Check run: cargo check --all-targets - name: Clippy - run: cargo clippy --all-targets -- -D clippy::pedantic + run: cargo clippy --version && cargo clippy --all-targets -- -D clippy::pedantic + env: + CARGO_INCREMENTAL: 0 - name: Install torrent edition tool (needed for testing) run: cargo install imdl - name: Unit and integration tests