From f332aaba32a5d3189842d0f665e6367ba3374673 Mon Sep 17 00:00:00 2001 From: Hendrik Brombeer Date: Thu, 30 Apr 2026 20:26:59 +0200 Subject: [PATCH] ci: switch Linux runners to self-hosted GitHub-hosted runners hit the org spending limit during today's release rush, blocking CI on every PR. Switching ubuntu-* to self-hosted across release.yml + ci.yml so CI runs on our own infra. macOS-14 + windows-2022 in the test matrix stay on GH-hosted (no self-hosted runners available for those). --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2486376..87a3b28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-24.04, macos-14, windows-2022] + os: [self-hosted, macos-14, windows-2022] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v6 @@ -20,7 +20,7 @@ jobs: - run: go test ./... -race -cover build-snapshot: - runs-on: ubuntu-24.04 + runs-on: self-hosted needs: test steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf60ed2..6652b0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: jobs: release-please: - runs-on: ubuntu-24.04 + runs-on: self-hosted outputs: release_created: ${{ steps.release.outputs.release_created }} tag_name: ${{ steps.release.outputs.tag_name }} @@ -25,7 +25,7 @@ jobs: goreleaser: needs: release-please if: ${{ needs.release-please.outputs.release_created }} - runs-on: ubuntu-24.04 + runs-on: self-hosted steps: - uses: actions/checkout@v6 with: { fetch-depth: 0 } @@ -59,7 +59,7 @@ jobs: # scopes. Add to repo secrets as SENTRY_AUTH_TOKEN. needs: [release-please, goreleaser] if: ${{ needs.release-please.outputs.release_created }} - runs-on: ubuntu-24.04 + runs-on: self-hosted steps: - uses: actions/checkout@v6 with: { fetch-depth: 0 }