Skip to content

ci: optimize mise install by specifying only required tools per workflow#399

Merged
boykush merged 2 commits intomainfrom
ci/optimize-mise-install
Feb 14, 2026
Merged

ci: optimize mise install by specifying only required tools per workflow#399
boykush merged 2 commits intomainfrom
ci/optimize-mise-install

Conversation

@boykush
Copy link
Owner

@boykush boykush commented Feb 14, 2026

Summary

  • Add install_args to each jdx/mise-action@v3 step so only the required tools are installed per workflow job, instead of all 7 tools from mise.toml
  • Make the postinstall hook (hk install --mise) CI-conditional using mise template syntax, since git hooks aren't needed in CI

Tool requirements per workflow

Workflow Job install_args
cargo-test-and-lint build rust
cargo-test-and-lint deny rust cargo:cargo-deny
playwright Setup Rust rust
playwright Setup Node.js node
performance performance rust
publish-rust-crate cargo_publish rust

Test plan

  • mise run cargo:quality passes locally (postinstall hook still works)
  • CI workflows pass on this PR (each workflow installs only its required tools)

🤖 Generated with Claude Code

boykush and others added 2 commits February 14, 2026 16:24
Skip installing all 7 tools in each CI workflow when only a subset is
needed. Also make the postinstall hook (hk install) CI-conditional since
git hooks aren't needed in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@boykush boykush enabled auto-merge February 14, 2026 07:31
@github-actions
Copy link

Performance Test Results 🚀

Build Time: 0.988 seconds
Status: ✅ PASS

Executed with: scraps build -v
Repository: boykush/wiki
Runner: Ubuntu latest

@github-actions
Copy link

Performance Test Results 🚀

Build Time: 0.977 seconds
Status: ✅ PASS

Executed with: scraps build -v
Repository: boykush/wiki
Runner: Ubuntu latest

@boykush boykush merged commit b7194d8 into main Feb 14, 2026
3 checks passed
@boykush boykush deleted the ci/optimize-mise-install branch February 14, 2026 07:34
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