diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 60f4ca1f9689484d89b81de10a00e15e4b7ac7c6..d3f2ef49c7509f84e42ce9221171caedb2b7e10b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -60,7 +60,7 @@ jobs:
         with:
           toolchain: ${{ env.MSRV }}
       - uses: taiki-e/install-action@cargo-no-dev-deps
-      - run: cargo no-dev-deps check --all --all-targets ${{ matrix.features }}
+      - run: cargo no-dev-deps check --all --lib --bins ${{ matrix.features }}
 
   build:
     needs: [formatting, linting, internal-tests, mavlink-dump, msrv]