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.
2 parents 25b8771 + d7d27cd commit 2f84e1aCopy full SHA for 2f84e1a
.github/workflows/main.yml
@@ -28,6 +28,16 @@ jobs:
28
cargo fmt --all --manifest-path $manifest --check
29
done
30
31
+ # Ensure there are no clippy warnings
32
+ clippy:
33
+ runs-on: ubuntu-latest
34
+ steps:
35
+ - uses: actions/checkout@v3
36
+ - run: rustup update stable && rustup default stable
37
+ - run: rustup component add clippy
38
+ # Only check cargo lib for now
39
+ - run: cargo clippy -p cargo --lib -- -D warnings
40
+
41
test:
42
runs-on: ${{ matrix.os }}
43
env:
src/cargo/lib.rs
@@ -4,6 +4,7 @@
4
// Due to some of the default clippy lints being somewhat subjective and not
5
// necessarily an improvement, we prefer to not use them at this time.
6
#![allow(clippy::all)]
7
+#![warn(clippy::self_named_module_files)]
8
#![allow(rustdoc::private_intra_doc_links)]
9
10
//! # Cargo as a library
0 commit comments