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 90
90
- name : Switch to stable toolchain
91
91
run : |
92
92
rustup update --no-self-update stable
93
- rustup component add --toolchain stable rust-src
93
+ rustup component add --toolchain stable rust-src clippy
94
94
rustup default stable
95
95
96
96
- name : Run analysis-stats on rust-analyzer
@@ -103,6 +103,10 @@ jobs:
103
103
RUSTC_BOOTSTRAP : 1
104
104
run : target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
105
105
106
+ - name : clippy
107
+ if : matrix.os == 'ubuntu-latest'
108
+ run : cargo clippy --all-targets -- -D warnings
109
+
106
110
# Weird targets to catch non-portable code
107
111
rust-cross :
108
112
if : github.repository == 'rust-lang/rust-analyzer'
You can’t perform that action at this time.
0 commit comments