Skip to content

ci: update GitHub Actions runner images - #736

Merged
wangl-cc merged 1 commit into
mainfrom
ci/update-runner-images
Oct 17, 2026
Merged

wangl-cc merged 1 commit into
mainfrom
ci/update-runner-images

Conversation

@wangl-cc

@wangl-cc wangl-cc commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

改动

  • ci.yml: 测试矩阵移除 macos-14(2026-11-02 退役),新增 xcode-27(macOS 27,已 GA)放在矩阵末尾
  • publish.yml: check / publish 两个非编译 job 改用 ubuntu-latest,以后不用再跟随版本迁移(实际工作环境在 Homebrew 容器内,与 homebrew-core 现行做法一致)
  • publish.yml: 容器镜像 ghcr.io/homebrew/ubuntu22.04:master → ghcr.io/homebrew/brew:main(前者已被 Homebrew 7.0 移除)

ci.yml 的编译矩阵保持固定版本标签不变,因为 bottle 需要按 OS 版本分别构建。

参考

Sourcery 生成的摘要

将 GitHub Actions 运行器和 Homebrew 发布镜像更新为受支持的环境。

新功能:

  • 将 Xcode 27 运行器添加到 CI 测试矩阵,同时移除即将停用的 macOS 14 镜像。

错误修复:

  • 在移除旧版 Ubuntu 镜像后,更新发布工作流以使用当前的 Homebrew 容器镜像。

改进:

  • 在稳定的 ubuntu-latest 运行器上执行发布检查和发布,而不是使用固定版本的 Ubuntu 镜像。

CI:

  • 更新 CI 和发布工作流使用的 GitHub Actions 运行器及容器镜像。
Original summary in English

Summary by Sourcery

Update GitHub Actions runners and Homebrew publishing images to supported environments.

New Features:

  • Add the Xcode 27 runner to the CI test matrix while removing the retiring macOS 14 image.

Bug Fixes:

  • Update publishing workflows to use the current Homebrew container image after removal of the previous Ubuntu image.

Enhancements:

  • Run publishing checks and releases on the stable ubuntu-latest runner instead of a version-pinned Ubuntu image.

CI:

  • Refresh GitHub Actions runner and container images used by CI and publishing workflows.

@sourcery-ai

sourcery-ai Bot commented Oct 17, 2026

Copy link
Copy Markdown

Sorry @wangl-cc, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 6 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@wangl-cc
wangl-cc force-pushed the ci/update-runner-images branch from 30486cd to 7663835 Compare October 17, 2026 09:23
- ci.yml: replace macos-14 (retired 2026-11-02) with xcode-27 (macOS 27, GA)
- publish.yml: use ubuntu-latest for non-build jobs (check/publish run in the Homebrew container, matching homebrew-core)
- publish.yml: replace removed ghcr.io/homebrew/ubuntu22.04 container with ghcr.io/homebrew/brew:main
@wangl-cc
wangl-cc force-pushed the ci/update-runner-images branch from 7663835 to 7a1cddd Compare October 17, 2026 09:25
@wangl-cc
wangl-cc merged commit 8aad5eb into main Oct 17, 2026
6 checks passed
@wangl-cc
wangl-cc deleted the ci/update-runner-images branch October 17, 2026 09:38
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