From 5465d37b497e3e6bf04a3ab8ffa8698a25f192e1 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 28 Sep 2026 17:03:19 +0200 Subject: [PATCH] ci: move GitHub-hosted Linux jobs to Ubuntu 26.04 Pins every hosted Linux job in tests.yml to 26.04: - test-bot x86_64 leg: ubuntu-latest -> ubuntu-26.04 - test-bot arm64 leg: ubuntu-24.04-arm -> ubuntu-26.04-arm - all-greens: ubuntu-latest -> ubuntu-26.04 The macOS jobs (macos-26, macos-15-intel) stay as they are. Explicit pins are the org convention, and GitHub moves ubuntu-latest to 26.04 on its own schedule between 2026-10-19 and 2026-11-19. Pinning now means we find out about a breakage on a PR instead of on a random day in November. The two test-bot Linux legs run inside ghcr.io/homebrew/brew:main, so the host only supplies Docker (29 on 26.04) and the runner's Node for the JS actions. The image's Python, CMake, compilers and so on never reach the job. The x86_64 leg would flip to 26.04 in November anyway, and I moved the arm64 leg alongside it so both Linux legs stay on the same image. all-greens only runs gha-mergify-ci's wait-jobs. Side effect: the RubyGems cache key includes matrix.os, so the first run on each new label starts with a cold cache. How to verify: test-bot skips draft PRs, so while this PR is a draft only all-greens runs on the new label. Taking it out of draft runs both test-bot Linux legs on 26.04, and a green run there is the proof. Refs: MRGFY-9736 Co-Authored-By: Claude Opus 5.5 Change-Id: I55b77db78beeac1dd31c3f26f1796a26043c7f4a --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0473018..27eb424 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,9 +20,9 @@ jobs: # x86_64 + arm64. macOS x86_64 runs in `test-macos-intel` below. os: [ macos-26 ] include: - - os: ubuntu-latest + - os: ubuntu-26.04 container: ghcr.io/homebrew/brew:main - - os: ubuntu-24.04-arm + - os: ubuntu-26.04-arm container: ghcr.io/homebrew/brew:main runs-on: ${{ matrix.os }} container: ${{ matrix.container }} @@ -75,7 +75,7 @@ jobs: needs: - test-bot - test-macos-intel - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Verify all jobs succeeded uses: Mergifyio/gha-mergify-ci@5e8176734bc525c7fd8b2e812f0fa47246f601b7 # v25