We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895d0df commit c79f0f3Copy full SHA for c79f0f3
.github/workflows/ci.yaml
@@ -90,7 +90,7 @@ jobs:
90
- name: Switch to stable toolchain
91
run: |
92
rustup update --no-self-update stable
93
- rustup component add --toolchain stable rust-src
+ rustup component add --toolchain stable rust-src clippy
94
rustup default stable
95
96
- name: Run analysis-stats on rust-analyzer
@@ -103,6 +103,10 @@ jobs:
103
RUSTC_BOOTSTRAP: 1
104
run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
105
106
+ - name: clippy
107
+ if: matrix.os == 'ubuntu-latest'
108
+ run: cargo clippy --all-targets -- -D warnings
109
+
110
# Weird targets to catch non-portable code
111
rust-cross:
112
if: github.repository == 'rust-lang/rust-analyzer'
0 commit comments