Skip to content

Commit e465a8b

Browse files
committed
ci: Don't run the --fix test on all of Clippy
Also -Zunstable-options isn't required anymore
1 parent 24111ec commit e465a8b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/clippy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ jobs:
5151
- name: Build
5252
run: cargo build --features deny-warnings,internal-lints
5353

54-
- name: Test "--fix -Zunstable-options"
55-
run: cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options
56-
5754
- name: Test
5855
run: cargo test --features deny-warnings,internal-lints
5956

@@ -73,6 +70,10 @@ jobs:
7370
run: ../target/debug/cargo-clippy
7471
working-directory: clippy_workspace_tests
7572

73+
- name: Test cargo-clippy --fix
74+
run: ../target/debug/cargo-clippy clippy -- --fix
75+
working-directory: clippy_workspace_tests
76+
7677
- name: Test clippy-driver
7778
run: bash .github/driver.sh
7879
env:

.github/workflows/clippy_bors.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ jobs:
113113
- name: Build
114114
run: cargo build --features deny-warnings,internal-lints
115115

116-
- name: Test "--fix -Zunstable-options"
117-
run: cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options
118-
119116
- name: Test
120117
run: cargo test --features deny-warnings,internal-lints
121118

@@ -135,6 +132,10 @@ jobs:
135132
run: ../target/debug/cargo-clippy
136133
working-directory: clippy_workspace_tests
137134

135+
- name: Test cargo-clippy --fix
136+
run: ../target/debug/cargo-clippy clippy -- --fix
137+
working-directory: clippy_workspace_tests
138+
138139
- name: Test clippy-driver
139140
run: bash .github/driver.sh
140141
env:

0 commit comments

Comments
 (0)