diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce52a98..2668a1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,13 +121,26 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: 1.88.0 + targets: x86_64-apple-darwin,aarch64-apple-darwin,x86_64-pc-windows-msvc,aarch64-pc-windows-msvc - name: Cache Cargo dependencies uses: Swatinem/rust-cache@v2 - - name: Check all targets with the MSRV + - name: Check the host with the MSRV run: cargo check --all-targets --locked + - name: Check every shipped target with the MSRV + run: | + for target in \ + x86_64-apple-darwin \ + aarch64-apple-darwin \ + x86_64-pc-windows-msvc \ + aarch64-pc-windows-msvc + do + echo "== $target ==" + cargo check --target "$target" --all-targets --locked + done + audit: name: Dependency Audit runs-on: ubuntu-latest