ci/rust: Change MSRV to `cargo check`
authorColin Walters <walters@verbum.org>
Thu, 23 Jun 2022 18:44:33 +0000 (14:44 -0400)
committerColin Walters <walters@verbum.org>
Thu, 23 Jun 2022 18:45:16 +0000 (14:45 -0400)
No reason to codegen just to throw it away.  We could test here too,
but eh.

.github/workflows/rust.yml

index 74e395eeea44877fb043c0629e0b79210a22f202..affeb42b5cafb18372118e5bb98c36cc34005696 100644 (file)
@@ -47,8 +47,8 @@ jobs:
           default: true
       - name: Cache Dependencies
         uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
-      - name: cargo build
-        run: cargo build --features=${{ env['CARGO_PROJECT_FEATURES'] }}
+      - name: cargo check
+        run: cargo check --features=${{ env['CARGO_PROJECT_FEATURES'] }}
   build-no-features:
     runs-on: ubuntu-latest
     container: quay.io/coreos-assembler/fcos-buildroot:testing-devel