Skip to content

fix(ci): bump setup-php to 2.40.0 for macOS 26 runners - #60

Merged
rkoopmans merged 1 commit into
tinify:masterfrom
rkoopmans:fix-macos-ci
Nov 25, 2026
Merged

rkoopmans merged 1 commit into
tinify:masterfrom
rkoopmans:fix-macos-ci

Conversation

@rkoopmans

@rkoopmans rkoopmans commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The macos-26 images no longer tap homebrew/core, so setup-php 2.37.2 stalls cloning it while installing PHP from its Homebrew tap and the macOS jobs time out. 2.40.0 installs PHP from prebuilt php-darwin builds instead.

Summary by CodeRabbit

  • Chores
    • Updated the automated checks used during the build and test process. No changes to app features or behavior are included.

The macos-26 images no longer tap homebrew/core, so setup-php 2.37.2
stalls cloning it while installing PHP from its Homebrew tap and the
macOS jobs time out. 2.40.0 installs PHP from prebuilt php-darwin
builds instead.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CI workflow updates shivammathur/setup-php from version 2.37.2 to 2.40.0 in the unit and integration test jobs.

Changes: CI Action Version

Layer / File(s) Summary
Update test job action versions
.github/workflows/ci-cd.yaml
The unit and integration test jobs now use shivammathur/setup-php@2.40.0 instead of 2.37.2.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: tijmenbruggeman

Merge Risk: Minimal · up to d02a4

This PR updates the PHP setup action in CI so the macOS jobs use prebuilt PHP builds on the new runner images. The reviewed revision's CI jobs passed, including the PHP 5.4 macOS unit job. No merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: bumping setup-php from 2.37.2 to 2.40.0 in the CI workflow. The objectives confirm the purpose is compatibility with macOS 26 runners, which the title also states. The…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: bumping setup-php from 2.37.2 to 2.40.0 in the CI workflow. The objectives confirm the purpose is compatibility with macOS 26 runners, which the title also states. The title is specific and matches the single-file change in .github/workflows/ci-cd.yaml.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the workflow with care
Two test jobs get a version update there
PHP setup takes a newer turn
While carrots wait beside the fern
The green checks hop along the trail

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 9ee7142e-233d-4fa4-9c3a-732b87834d3a
Commits

Reviewing files that changed from the base of the PR and between 3b48d05 and d02a42b.

Files selected for processing: 1

  • .github/workflows/ci-cd.yaml

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@rkoopmans
rkoopmans merged commit 80ebfa6 into tinify:master Nov 25, 2026
18 checks passed
@rkoopmans
rkoopmans deleted the fix-macos-ci branch November 25, 2026 12: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