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 152f5bc commit 24570edCopy full SHA for 24570ed
.evergreen/check-clippy.sh
@@ -8,9 +8,13 @@ source ./.evergreen/env.sh
8
CLIPPY_VERSION=1.75.0
9
10
rustup install $CLIPPY_VERSION
11
+cargo install clippy-sarif
12
13
# Check with default features.
14
cargo +$CLIPPY_VERSION clippy --all-targets -p mongodb -- -D warnings
15
16
# Check with all features.
17
cargo +$CLIPPY_VERSION clippy --all-targets --all-features -p mongodb -- -D warnings
18
+
19
+# Produce a SARIF report.
20
+cargo +$CLIPPY_VERSION clippy --all-targets --all-features -p mongodb --message-format=json -- -D warnings | clippy-sarif > clippy.sarif.json
0 commit comments