ci: split workflows, add audit, cross‑platform builds & auto‑draft release#6
Merged
hyperfinitism merged 1 commit intomainfrom Jul 20, 2025
Merged
ci: split workflows, add audit, cross‑platform builds & auto‑draft release#6hyperfinitism merged 1 commit intomainfrom
hyperfinitism merged 1 commit intomainfrom
Conversation
* Replace monolithic ci.yml with five focused workflows
- lint.yml · Rustfmt & Clippy
- test.yml · debug tests
- release‑test.yml · release tests
- release‑build.yml · release builds + upload artefacts + draft release
- audit.yml · cargo‑audit vulnerability scan
* Support cross-platform test + build + release
- Linux x86_64
- macOS (Intel & Apple Silicon)
- Windows x86_64
* Reusable release-packaging action
.github/actions/package‑binaries/
├─ action.yml (composite wrapper)
├─ package.sh (Linux / macOS)
└─ package.ps1 (Windows)
* Smart cache management
- Switch from actions/cache@v3 to Swatinem/rust-cache@v2
- Isolate pull_request caches from main caches
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.
Closes #5
What's changed
1. Monolithic
ci.yml→ five focused workflowsmain)lint.ymlrustfmt,clippytest.ymlcargo test(matrix)release-test.ymlcargo test(matrix)release-build.ymlv*)audit.ymlcargo‑audit2. Cross-platform support
test.yml,release-test.ymlandrelease-build.ymlnow cover four targets:See also Choosing the runner for a job - Github Docs.
3. Reusable release-packaging action
4. Smarter cache management
actions/cache@v3toSwatinem/rust-cache@v2pull_requestcaches frommaincachesTests