Skip to content

ci: Use latest macOS runners and available simulators - #442

Merged
philprime merged 4 commits into
mainfrom
philprime/ci/update-macos-runners-simulators
Oct 9, 2026
Merged

philprime merged 4 commits into
mainfrom
philprime/ci/update-macos-runners-simulators

Conversation

@philprime

@philprime philprime commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Use macos-latest for all macOS workflows and the latest stable installed Xcode for tests. Replace custom simulator selection with kula-app/wait-for-services-action/ios-simulator@v1 for iOS, tvOS, watchOS, and visionOS, passing its resolved runtime and the configured device to the existing Make targets.

Migrate Danger to the built-in GITHUB_TOKEN with job-scoped permissions. Add grouped, failure-only CI diagnostics adapted from sentry-cocoa, including its complete MIT license in both script headers.

Verification
Test, documentation, and Danger workflows pass actionlint. Simulator action smoke checks with mocked simctl responses cover all four platforms, the visionOS/xrOS alias, and Make build/test destinations. Diagnostics smoke checks, ShellCheck, and commit hooks passed.

Danger passed hosted CI after the token migration. Hosted CI for the simulator action and diagnostics changes is pending. The release workflow retains pre-existing actionlint warnings for unquoted shell variables and an obsolete release action.

@philprime
philprime marked this pull request as ready for review October 9, 2026 08:48
Copilot AI balanced review requested due to automatic review settings October 9, 2026 08:48

Copilot AI 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.

🔵 Needs a closer look

An unguarded diagnostic probe can terminate the failure-reporting script before its remaining sections run.

0 open findings

What changed in this PR

Updates macOS CI to track current runners/Xcode and dynamically resolve simulator runtimes.

Changes:

  • Uses macos-latest, latest-stable Xcode, and simulator readiness actions.
  • Adds failure diagnostics for macOS workflows.
  • Migrates Danger to the built-in token with scoped permissions.
File Description
scripts/​ci-utils.sh Adds CI logging helpers.
scripts/​ci-diagnostics.sh Collects macOS/Xcode diagnostics.
.github/​workflows/​tests.yml Modernizes runners and simulator setup.
.github/​workflows/​release.yml Updates runner and adds diagnostics.
.github/​workflows/​documentation.yml Updates runner and adds diagnostics.
.github/​workflows/​danger.yml Scopes permissions and migrates token usage.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@philprime
philprime enabled auto-merge (squash) October 9, 2026 08:51
@philprime
philprime merged commit 1582e28 into main Oct 9, 2026
10 checks passed
@philprime
philprime deleted the philprime/ci/update-macos-runners-simulators branch October 9, 2026 09:03
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.

2 participants