From 3ee4fa8099795fe998f8a3b734da320fc8bc0fb9 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Thu, 15 Feb 2024 19:00:07 -0800 Subject: [PATCH] Add all targets and all features to check --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index de7efb060..93877a6a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,7 +50,7 @@ jobs: cache-all-crates: "true" save-if: ${{ github.ref == 'refs/heads/master' }} - uses: ilammy/setup-nasm@v1 - - run: cargo check --all --examples --tests + - run: cargo check --all --examples --tests --all-features --all-targets test: if: github.event.pull_request.draft == false @@ -110,7 +110,7 @@ jobs: with: cache-all-crates: "true" save-if: ${{ github.ref == 'refs/heads/master' }} - - run: cargo clippy --workspace --examples --tests -- -D warnings + - run: cargo clippy --workspace --examples --tests --all-features --all-targets -- -D warnings # We removed most unsafe that we can, and using nightly doubles our cache size # miri: