From c882bffa44b34c4b8243ec073dd82fbbe6512cd7 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Fri, 7 Nov 2025 17:49:49 +0800 Subject: [PATCH] fix: Update CI to use Ubuntu 22.04 as the minimum Ubuntu 20.04 is no longer supported by GitHub Actions --- .github/actionlint.yaml | 2 +- .github/workflows/build_gems.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/publish-docker.yml | 2 +- .github/workflows/publish-manual.yml | 2 +- .github/workflows/release-dry-run.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index 319d6ba09..5996bbe7f 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -1,4 +1,4 @@ # Stop actionlint from triggering failures self-hosted-runner: labels: - - ubuntu-20.04-16core-graph-team + - ubuntu-22.04-32core-graph-team-amd64 diff --git a/.github/workflows/build_gems.yml b/.github/workflows/build_gems.yml index 662a9e1d5..a67ef41eb 100644 --- a/.github/workflows/build_gems.yml +++ b/.github/workflows/build_gems.yml @@ -6,7 +6,7 @@ jobs: name: 'Build gem' strategy: matrix: - platform: ['ubuntu-20.04', 'macos-13'] + platform: ['ubuntu-22.04', 'macos-13'] config: ['asserts', 'release'] runs-on: ${{ matrix.platform }} env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db842b01a..e7d4f4683 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: 'ubuntu-latest' + runs-on: 'ubuntu-22.04' steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 25f7fc205..f1b95c39b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: 'ubuntu-latest' + runs-on: 'ubuntu-22.04' steps: - uses: actions/checkout@v4 - name: Format Bazel files diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index f4763bdb9..7b6a7cde4 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -12,7 +12,7 @@ on: jobs: release-image: - runs-on: ubuntu-latest + runs-on: 'ubuntu-22.04' steps: - run: | if [ -z "$TAG" ]; then diff --git a/.github/workflows/publish-manual.yml b/.github/workflows/publish-manual.yml index 0dbe22655..04a10e87d 100644 --- a/.github/workflows/publish-manual.yml +++ b/.github/workflows/publish-manual.yml @@ -9,7 +9,7 @@ on: jobs: download-and-publish-gems: name: 'Download and publish gems' - runs-on: 'ubuntu-20.04' + runs-on: 'ubuntu-22.04' env: TAG: ${{ inputs.tag }} steps: diff --git a/.github/workflows/release-dry-run.yml b/.github/workflows/release-dry-run.yml index 83cb5503f..f3f8b1e50 100644 --- a/.github/workflows/release-dry-run.yml +++ b/.github/workflows/release-dry-run.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: # Use macos-14 as macos-13 runner is only offered for x86_64 - platform: ['ubuntu-20.04-16core-graph-team', 'macos-13-xlarge'] + platform: ['ubuntu-22.04-32core-graph-team-amd64', 'macos-13-xlarge'] config: ['asserts', 'release'] runs-on: ${{ matrix.platform }} env: @@ -96,7 +96,7 @@ jobs: create-release: name: 'Create release (dry run)' needs: build-and-upload-artifacts - runs-on: 'ubuntu-20.04' + runs-on: 'ubuntu-22.04' env: FAKE_VERSION: ${{ inputs.fakeVersion }} steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1811e8fb9..4de16cf95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: name: 'Build and upload artifacts' strategy: matrix: - platform: ['ubuntu-20.04-16core-graph-team', 'macos-13-xlarge'] + platform: ['ubuntu-22.04-32core-graph-team-amd64', 'macos-13-xlarge'] # Keep the platform list in sync with 'Supported Configurations' in README.md config: ['asserts', 'release'] runs-on: ${{ matrix.platform }} @@ -89,7 +89,7 @@ jobs: create-release: name: 'Create release' needs: build-and-upload-artifacts - runs-on: 'ubuntu-20.04' + runs-on: 'ubuntu-22.04' steps: - uses: actions/checkout@v4 - name: Create Release