ci: build tines-core on MSRV instead of testing it

The msrv job ran `cargo test` on 1.82, which can't parse a proptest
dev-dependency that needs edition 2024 (B5). The MSRV promise covers
building tines-core, so the job now builds it on 1.82 with default
features, with --no-default-features, and for thumbv7em-none-eabihf.
`cargo +1.82.0` makes the toolchain explicit over rust-toolchain.toml.
All three builds pass locally on 1.82.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 08:44:09 -07:00
co-authored by Claude Opus 5.5
parent e65a9dee6c
commit 7a31edd6ad
+10 -3
View File
@@ -57,11 +57,18 @@ jobs:
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with: with:
toolchain: 1.82.0 toolchain: 1.82.0
targets: thumbv7em-none-eabihf
- name: Cache cargo registry and target - name: Cache cargo registry and target
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- name: Build + test tines-core on MSRV # Build only: the MSRV promise covers building tines-core, not its
# dev-dependencies. proptest pulls in crates that need edition 2024,
# which 1.82 can't parse, so `cargo test` can't run here. The tests run
# on the pinned toolchain in the `ci` job. `+1.82.0` overrides
# rust-toolchain.toml.
- name: Build tines-core on MSRV
run: | run: |
cargo test --locked -p tines-core cargo +1.82.0 build --locked -p tines-core
cargo test --locked -p tines-core --no-default-features cargo +1.82.0 build --locked -p tines-core --no-default-features
cargo +1.82.0 build --locked -p tines-core --no-default-features --target thumbv7em-none-eabihf