File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 9090 - name : Switch to stable toolchain
9191 run : |
9292 rustup update --no-self-update stable
93- rustup component add --toolchain stable rust-src
93+ rustup component add --toolchain stable rust-src clippy
9494 rustup default stable
9595
9696 - name : Run analysis-stats on rust-analyzer
@@ -103,6 +103,10 @@ jobs:
103103 RUSTC_BOOTSTRAP : 1
104104 run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
105105
106+ - name : clippy
107+ if : matrix.os == 'ubuntu-latest'
108+ run : cargo clippy --all-targets -- -D warnings
109+
106110 # Weird targets to catch non-portable code
107111 rust-cross :
108112 if : github.repository == 'rust-lang/rust-analyzer'
You can’t perform that action at this time.
0 commit comments