ci: add cross-platform test matrix with MSRV check#83
Merged
Conversation
Contributor
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
kite | 108bcf9 | Commit Preview URL Branch Preview URL |
Jul 09 2026, 12:33 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Expands the CI workflow so pull requests are validated across all supported platforms and against the minimum supported Rust version, instead of only
ubuntu-latest+stable.What's included
testjob (matrix): runscargo testacrossos = [ubuntu-latest, macos-latest, windows-latest]×rust = [stable, "1.85"](stable + MSRV) withfail-fast: false, so a failure on one platform/version doesn't cancel the others. The MSRV entry (1.85, matchingrust-versioninCargo.toml) guards against accidental dependency bumps that would raise the MSRV.lintjob:cargo fmt --check,cargo clippy -- -D warnings, andcargo build --no-default-featuresrun exactly once onubuntu-latest+stable, so format/lint aren't duplicated across the matrix.Swatinem/rust-cachenow uses an explicit${{ matrix.os }}-${{ matrix.rust }}key on thetestjob (and a dedicated key onlint) so each matrix entry gets an isolated cache and they don't collide.concurrencygroup to cancel superseded in-progress runs. The six test combinations run in parallel and stay well under the 10-minute target.denyjob: unchanged dependency audit. All actions remain SHA-pinned with version comments per repo convention.Validated with
actionlint(no findings). CI-only change — no application source touched.Related Issues
Closes #25
Type of Change
Checklist
cargo testpasses (one pre-existing hardware-sensor test,sensor::readings_have_valid_temps, fails only on the local macOS dev machine due to an out-of-range PMU reading — unrelated to this CI change; no Rust source is modified)cargo clippy -- -D warningsreports no warningscargo fmthas been applied