From 2218dd65547bb5a16efe61b03c04285d2691bbb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 24 Dec 2020 13:11:34 +0100 Subject: [PATCH] ci: run cargo clippy --fix -Zunstable-options in the correct directory. --- .github/workflows/clippy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 17812b74ab2..9d5e12aac5f 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -50,6 +50,9 @@ jobs: - name: Build run: cargo build --features deny-warnings,internal-lints + - name: Test "--fix -Zunstable-options" + run: cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options + - name: Test run: cargo test --features deny-warnings,internal-lints @@ -57,10 +60,6 @@ jobs: run: cargo test --features deny-warnings,internal-lints working-directory: clippy_lints - - name: Test --fix -Zunstable-options - run: cargo run --bin cargo-clippy -- clippy --fix -Zunstable-options - working-directory: clippy_lints - - name: Test rustc_tools_util run: cargo test --features deny-warnings working-directory: rustc_tools_util