diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a406645..01eac18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,16 +27,11 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt, clippy - name: Cache Rust build artifacts uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - - name: Build debug - run: cargo build --all --verbose - - - name: Build release - run: cargo build --all --release --verbose + - name: Check compilation + run: cargo check --all --all-targets