Skip to content

Use mise lockfile and install-mise-tools in CI#7207

Open
AlvaroBrey wants to merge 2 commits into
mainfrom
ci/mise-lockfile
Open

Use mise lockfile and install-mise-tools in CI#7207
AlvaroBrey wants to merge 2 commits into
mainfrom
ci/mise-lockfile

Conversation

@AlvaroBrey

@AlvaroBrey AlvaroBrey commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Migrates CI tooling from rbenv and ad-hoc Homebrew/Mint installs to mise for managing Ruby, xcbeautify, SwiftLint, and Tuist.

  • the gem cache key is bumped from v4 to v5 to account for the change in Ruby provider.
  • xcbeautify : the Xcode 14 variant remains on Mint since the pinned mise.toml version (2.30.1) is not Xcode 14 compatible.
  • tuist is now installed via revenuecat/install-mise-tools instead of the deprecated revenuecat/install-tuist orb step. Tuist workspace generation now calls mise run --skip-tools tuist-install to avoid re-verifying all declared tools on every invocation.
  • The shared Homebrew cache is now mint-only (key bumped to v3-homebrew-cache-mint-*), since xcbeautify no longer goes through Homebrew.
  • The postinstall hook and task are renamed from install to tuist-install for clarity.
  • The revenuecat/sdks-common-config orb is updated from 4.1.0 to 4.5.1.
  • Adds mise lockfiles

Note

Medium Risk
Broad CI infrastructure change across many jobs; a misconfigured mise install or cache key could break builds or release lanes, though versions stay pinned and legacy Xcode 14 paths are preserved.

Overview
CI and local dev now install Ruby 3.2.0, xcbeautify, SwiftLint, and Tuist through mise (revenuecat/install-mise-tools on orb 4.5.1) instead of rbenv, Homebrew, Mint, and the old install-tuist / install-swiftlint orb steps.

mise.toml pins those four tools, enables the lockfile, renames the postinstall task to tuist-install, and adds mise.lock with pinned checksums. Tuist workspace generation runs mise run --skip-tools tuist-install before tuist generate so CI does not re-verify every tool on each call.

Caching bumps the gem cache to v5 (rbenv → mise Ruby) and narrows Homebrew caching to mint-only (v3). Xcode 14 jobs still install xcbeautify 1.6.0 via Mint because the mise-pinned 2.30.1 is not compatible. Lint, release-checks, docs, pod push, and deploy-rct-tester jobs were updated to call install-mise-tools explicitly where they no longer use the full install-dependencies command.

Reviewed by Cursor Bugbot for commit 4c77d6a. Bugbot is set up for automated code reviews on this repo. Configure here.

@AlvaroBrey AlvaroBrey self-assigned this Jul 14, 2026
@AlvaroBrey

Copy link
Copy Markdown
Contributor Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit a4cdadd. Configure here.

@AlvaroBrey
AlvaroBrey force-pushed the ci/mise-lockfile branch 2 times, most recently from da3c332 to 6639986 Compare July 20, 2026 07:25
@AlvaroBrey
AlvaroBrey marked this pull request as ready for review July 21, 2026 07:59
@AlvaroBrey
AlvaroBrey requested a review from a team as a code owner July 21, 2026 08:00

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6639986. Configure here.

Comment thread .circleci/default_config.yml
Comment thread mise.toml
Standardize macOS CI tool installation on mise with a committed mise.lock, bumping revenuecat/sdks-common-config for install-mise-tools support. Migrates ruby (from rbenv), xcodes, and xcbeautify to mise; Xcode 14's job keeps installing xcbeautify via Mint since mise's version isn't compatible with it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant