Skip to content

ci: restructure GitHub Actions workflows for improved organization#52

Merged
TrueNine merged 6 commits intomainfrom
dev
Feb 24, 2026
Merged

ci: restructure GitHub Actions workflows for improved organization#52
TrueNine merged 6 commits intomainfrom
dev

Conversation

@TrueNine
Copy link
Owner

  • Delete monolithic ci.yml workflow and split into focused workflows
  • Rename test.yml to pull-request.yml with updated job naming for clarity
  • Add build step to pull-request workflow before Rust tests
  • Create deploy-docs.yml workflow for future Vercel documentation deployment
  • Consolidate CLI release workflows into single release-cli.yml
  • Add platform-specific GUI release workflows (macos, windows, linux)
  • Add release-gui-collect.yml for aggregating GUI build artifacts
  • Update cargo cache keys from test/ci to pr for consistency
  • Streamline workflow organization by separating concerns into dedicated files

- Delete monolithic ci.yml workflow and split into focused workflows
- Rename test.yml to pull-request.yml with updated job naming for clarity
- Add build step to pull-request workflow before Rust tests
- Create deploy-docs.yml workflow for future Vercel documentation deployment
- Consolidate CLI release workflows into single release-cli.yml
- Add platform-specific GUI release workflows (macos, windows, linux)
- Add release-gui-collect.yml for aggregating GUI build artifacts
- Update cargo cache keys from test/ci to pr for consistency
- Streamline workflow organization by separating concerns into dedicated files
- Remove staticlib and cdylib from crate-type array in gui/src-tauri/Cargo.toml
- Keep only rlib crate type for library compilation
- Streamline build configuration to reduce unnecessary artifact generation
Skip doctests in GUI cargo test to avoid incremental compilation
cache conflicts with tnmsc_logger in CI environment. The app_lib
crate has no doc examples, so this has no functional impact.

Fixes: error[E0460]: found possibly newer version of crate tnmsc_logger
Add --lib --bins --tests flags to cargo test in CI to skip doctests
across all workspace crates. This prevents E0460 incremental compilation
cache conflicts in CI environment while preserving all unit and
integration tests.
Include .next/** in turbo outputs to properly cache Next.js builds
for the docs site. Excludes .next/cache/** to avoid caching the
internal Next.js cache directory.

Fixes: WARNING no output files found for task @truenine/memory-sync-docs#build
- Create setup-node-pnpm action for Node.js and pnpm installation with caching
- Create setup-rust action for Rust toolchain installation with cargo caching
- Create setup-tauri action for Tauri GUI builds with version sync and route generation
- Refactor pull-request workflow to use setup-node-pnpm and setup-rust actions
- Refactor release-cli workflow to use setup-node-pnpm and setup-rust actions
- Refactor release-gui-linux workflow to use setup-node-pnpm and setup-tauri actions
- Refactor release-gui-macos workflow to use setup-node-pnpm and setup-tauri actions
- Refactor release-gui-win workflow to use setup-node-pnpm and setup-tauri actions
- Reduce workflow duplication and improve maintainability across CI/CD pipelines
@TrueNine TrueNine merged commit 2921448 into main Feb 24, 2026
1 check passed
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