ci: run cargo clippy --fix -Zunstable-options in the correct directory.
This commit is contained in:
parent
5c981359a8
commit
2218dd6554
7
.github/workflows/clippy.yml
vendored
7
.github/workflows/clippy.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user