Skip to content

Commit 2218dd6

Browse files
committed
ci: run cargo clippy --fix -Zunstable-options in the correct directory.
1 parent 5c98135 commit 2218dd6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/clippy.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,16 @@ jobs:
5050
- name: Build
5151
run: cargo build --features deny-warnings,internal-lints
5252

53+
- name: Test "--fix -Zunstable-options"
54+
run: cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options
55+
5356
- name: Test
5457
run: cargo test --features deny-warnings,internal-lints
5558

5659
- name: Test clippy_lints
5760
run: cargo test --features deny-warnings,internal-lints
5861
working-directory: clippy_lints
5962

60-
- name: Test --fix -Zunstable-options
61-
run: cargo run --bin cargo-clippy -- clippy --fix -Zunstable-options
62-
working-directory: clippy_lints
63-
6463
- name: Test rustc_tools_util
6564
run: cargo test --features deny-warnings
6665
working-directory: rustc_tools_util

0 commit comments

Comments
 (0)