diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2365200..73bd97a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: - name: Execute Tests run: cargo test --release --all - name: Run Clippy - run: cargo clippy --release --all -- -D warnings + run: cargo clippy --release --all --all-targets --all-features --locked -- -D warnings - name: Check Formatting run: cargo fmt --all -- --check - name: Check Docs diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 51647f0..9f6595d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -28,7 +28,10 @@ "command": "cargo", "args": [ "clippy", - "--all" + "--all", + "--locked", + "--all-targets", + "--all-features" ], "problemMatcher": [ "$rustc" diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..688006c --- /dev/null +++ b/clippy.toml @@ -0,0 +1,4 @@ +# Allow some things in tests +allow-unwrap-in-tests = true +allow-panic-in-tests = true +allow-expect-in-tests = true