File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
jobs :
29
29
base :
30
+ # NOTE: If you modify this job, make sure you copy the changes to clippy_bors.yml
30
31
runs-on : ubuntu-latest
31
32
32
33
steps :
50
51
- name : Build
51
52
run : cargo build --features deny-warnings,internal-lints
52
53
53
- - name : Test "--fix -Zunstable-options"
54
- run : cargo run --features deny-warnings,internal-lints --bin cargo-clippy -- clippy --fix -Zunstable-options
55
-
56
54
- name : Test
57
55
run : cargo test --features deny-warnings,internal-lints
58
56
72
70
run : ../target/debug/cargo-clippy
73
71
working-directory : clippy_workspace_tests
74
72
73
+ - name : Test cargo-clippy --fix
74
+ run : ../target/debug/cargo-clippy clippy --fix -Zunstable-options
75
+ working-directory : clippy_workspace_tests
76
+
75
77
- name : Test clippy-driver
76
78
run : bash .github/driver.sh
77
79
env :
Original file line number Diff line number Diff line change 72
72
73
73
runs-on : ${{ matrix.os }}
74
74
75
+ # NOTE: If you modify this job, make sure you copy the changes to clippy.yml
75
76
steps :
76
77
# Setup
77
78
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
@@ -131,11 +132,22 @@ jobs:
131
132
run : ../target/debug/cargo-clippy
132
133
working-directory : clippy_workspace_tests
133
134
135
+ - name : Test cargo-clippy --fix
136
+ run : ../target/debug/cargo-clippy clippy --fix -Zunstable-options
137
+ working-directory : clippy_workspace_tests
138
+
134
139
- name : Test clippy-driver
135
140
run : bash .github/driver.sh
136
141
env :
137
142
OS : ${{ runner.os }}
138
143
144
+ - name : Test cargo dev new lint
145
+ run : |
146
+ cargo dev new_lint --name new_early_pass --pass early
147
+ cargo dev new_lint --name new_late_pass --pass late
148
+ cargo check
149
+ git reset --hard HEAD
150
+
139
151
integration_build :
140
152
needs : changelog
141
153
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments