はじめに
七尾百合子さん、お誕生日 246日目 おめでとうございます! nikkieです。
chore な対応から学びがありました
目次
- はじめに
- 目次
- 「macOS 13 hosted runner image is closing down」とメール
- さらば、macOS 13 runner
- さらは、x86_64 向けのビルド
- 終わりに
「macOS 13 hosted runner image is closing down」とメール
11/15(土)に受け取っていました。

探したら同内容のissueがありました
Mitigation ways
sampleproject-rs が macos-13 runner を使っていた1ので対応しました。
さらば、macOS 13 runner
sampleproject の Rust 実装、sampleproject-rs は、macOS向けにもビルドして配布しています。
maturin generate-ci githubが掃き出しました
jobs: macos: runs-on: ${{ matrix.platform.runner }} strategy: matrix: platform: - runner: macos-13 target: x86_64 - runner: macos-14 target: aarch64
これを以下のように変えて対応しています2。
platform: - - runner: macos-13 - target: x86_64 - - runner: macos-14 + - runner: macos-15 target: aarch64
さらは、x86_64 向けのビルド
まず x86_64 向けビルドの runner は、メールで案内された3ように、 macos-13 を macos-14-large に変えました。
するとその runner で GitHub Action が落ちます。
The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings
この原因を調べたところ、x86_64 向けに案内された runner は有料と知ります。
The larger runners are not free for public repositories.
ref: アクションズ ランナーの価格 - GitHub ドキュメント
支払い設定をしていない私の場合は実行されずに落ちたのです。
sampleproject-rs では課金して x86_64 向けビルドを続ける積極的な理由がなかったので、さようならすることにしました。
終わりに
GitHub Actions の macos-13 runner の deprecation に対応したことで学びがありました。
macos-13 では無料で x86_64 runner が使えていましたが、macos-14 以降は larger runner のような有料のものしかないようです。
なお、x86_64 runner として使える macos-15-intel も時限的な措置のようです。
[macOS] The additional macOS 15 Sonoma Intel-based image will be available in GitHub Actions · Issue #13045 · actions/runner-images · GitHub
The new label will run on macOS 15 and will be available from now until August 2027. This will be the last available x86_64 image from Actions, and after that date the x86_64 architecture will not be supported on GitHub Actions.
Apple Silicon への移行が必要なんですね
-
GitHubでの検索クエリ
owner:ftnext "macos-" language:YAML↩ - https://github.com/ftnext/sampleproject-rs/compare/0.2.1...0.2.2↩
- 「For users that require the x86_64 (Intel) architecture, jobs can be migrated to one of the following labels: 」↩
- macos-15-intelについては Copilot が教えてくれて、私の方で裏を取れていませんが、実験する余裕がなかったので受け入れました↩