extension_ci: Be more precise with clippy targets (#48824)

Finn Evers created

This fixes an issue where we would run into build errors during testing.

Release Notes:

- N/A

Change summary

.github/workflows/extension_tests.yml                | 2 +-
tooling/xtask/src/tasks/workflows/extension_tests.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

.github/workflows/extension_tests.yml 🔗

@@ -68,7 +68,7 @@ jobs:
     - name: steps::cargo_fmt
       run: cargo fmt --all -- --check
     - name: extension_tests::run_clippy
-      run: cargo clippy --release --all-targets --all-features -- --deny warnings
+      run: cargo clippy --release --all-features -- --deny warnings
     - name: steps::cargo_install_nextest
       uses: taiki-e/install-action@nextest
     - name: steps::cargo_nextest

tooling/xtask/src/tasks/workflows/extension_tests.rs 🔗

@@ -53,7 +53,7 @@ fn install_rust_target() -> Step<Run> {
 }
 
 fn run_clippy() -> Step<Run> {
-    named::bash("cargo clippy --release --all-targets --all-features -- --deny warnings")
+    named::bash("cargo clippy --release --all-features -- --deny warnings")
 }
 
 fn check_rust() -> NamedJob {