Skip to content

ci: add Rust compilation and tests to PR checks#409

Merged
mremond merged 7 commits into
mainfrom
ci/rust-tests
May 19, 2026
Merged

ci: add Rust compilation and tests to PR checks#409
mremond merged 7 commits into
mainfrom
ci/rust-tests

Conversation

@mremond
Copy link
Copy Markdown
Member

@mremond mremond commented May 19, 2026

Summary

  • Add a rust job to ci.yml that runs in parallel with the existing Node.js test job
  • Runs cargo test (~130 unit tests) and cargo clippy on every PR
  • Catches breaking dependency upgrades (e.g. keyring v4) that previously slipped through because only release.yml compiled Rust

mremond added 7 commits May 19, 2026 15:40
ci.yml only validated TypeScript — Rust was compiled exclusively by
release.yml on tags, so breaking dependency upgrades (e.g. keyring 4)
slipped through undetected.

Add a parallel `rust` job that runs cargo test (~130 unit tests) and
cargo clippy on every PR.
ctor v1 now requires the explicit unsafe marker.
- Use --locked on cargo test/clippy to fail if Cargo.lock is out of sync
- Check gen/schemas/ for uncommitted changes after build
Cargo.lock was out of sync with Cargo.toml 0.16.0, and Tauri CLI
regenerated permission schemas with new core capabilities.
Replace git hash with semver version — macOS needs an orderable value
for CFBundleVersion, and the about screen already gets the commit hash
dynamically from Vite/build.rs. Updated at release time only.
Run cargo check after updating Cargo.toml to sync Cargo.lock and
regenerate Tauri permission schemas. Also switch bundleVersion to
semver. Update RELEASE.md to document the new artifacts.
@mremond mremond added this to the 0.16.0 milestone May 19, 2026
@mremond mremond merged commit f5bbf29 into main May 19, 2026
2 checks passed
@mremond mremond deleted the ci/rust-tests branch May 19, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant