浏览代码

Add all targets and all features to check

Jonathan Kelley 1 年之前
父节点
当前提交
3ee4fa8099
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/main.yml

+ 2 - 2
.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: