Add general-purpose pull request validation for Rust and Android - #302
Open
4Luke4 wants to merge 6 commits into
Open
Add general-purpose pull request validation for Rust and Android#3024Luke4 wants to merge 6 commits into
4Luke4 wants to merge 6 commits into
Conversation
4Luke4
marked this pull request as ready for review
July 23, 2026 15:19
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.
Summary
Add a dedicated pull-request validation workflow that provides fast host-side Rust checks and a reproducible Android ARM64 debug build for routine development changes.
Motivation
The existing Android workflow is release-oriented: it runs manually or for version tags, requires signing credentials, builds APK and AAB release artifacts, generates manuals, and publishes GitHub releases. That makes it unsuitable as the standard validation path for pull requests.
This workflow establishes a secret-free, least-privilege CI baseline that can be reused by all future pull requests rather than being tied to any specific bug fix.
What changed
Rust checks
cargo fmt --all --checkAndroid ARM64 debug build
xbuildWorkflow hygiene
main, and manual dispatchesSecurity and operational considerations
Validation
.github/workflows/pr-validation.ymlFollow-up
Once this workflow is merged and stable, emulator smoke testing can be introduced as a separate, opt-in workflow before considering it as a required check. Physical mouse, touchpad, and Samsung DeX behavior will still require a physical-device test path or a self-hosted ADB runner.