7272
7373 runs-on : ${{ matrix.os }}
7474
75+ # NOTE: If you modify this job, make sure you copy the changes to clippy.yml
7576 steps :
7677 # Setup
7778 - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
@@ -112,8 +113,16 @@ jobs:
112113 - name : Build
113114 run : cargo build --features deny-warnings,internal-lints
114115
115- - name : Test Workspace
116- run : cargo test --all --features deny-warnings,internal-lints
116+ - name : Test
117+ run : cargo test --features deny-warnings,internal-lints
118+
119+ - name : Test clippy_lints
120+ run : cargo test --features deny-warnings,internal-lints
121+ working-directory : clippy_lints
122+
123+ - name : Test rustc_tools_util
124+ run : cargo test --features deny-warnings
125+ working-directory : rustc_tools_util
117126
118127 - name : Test clippy_dev
119128 run : cargo test --features deny-warnings
@@ -123,11 +132,22 @@ jobs:
123132 run : ../target/debug/cargo-clippy
124133 working-directory : clippy_workspace_tests
125134
135+ - name : Test cargo-clippy --fix
136+ run : ../target/debug/cargo-clippy clippy --fix -Zunstable-options
137+ working-directory : clippy_workspace_tests
138+
126139 - name : Test clippy-driver
127140 run : bash .github/driver.sh
128141 env :
129142 OS : ${{ runner.os }}
130143
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+
131151 integration_build :
132152 needs : changelog
133153 runs-on : ubuntu-latest
0 commit comments