ci: Switch from ubuntu-latest to namespace (2) (#36702)

In response to ongoing [github actions
incident](https://www.githubstatus.com/incidents/c7kq3ctclddp)

Supercedes: https://github.com/zed-industries/zed/pull/36698

Release Notes:

- N/A
This commit is contained in:
Peter Tripp 2025-08-21 13:21:37 -04:00 committed by GitHub
parent 1b2ceae7ef
commit f2899bf34b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 8 deletions

View file

@ -19,11 +19,12 @@ self-hosted-runner:
- namespace-profile-16x32-ubuntu-2004-arm - namespace-profile-16x32-ubuntu-2004-arm
- namespace-profile-32x64-ubuntu-2004-arm - namespace-profile-32x64-ubuntu-2004-arm
# Namespace Ubuntu 22.04 (Everything else) # Namespace Ubuntu 22.04 (Everything else)
- namespace-profile-2x4-ubuntu-2204
- namespace-profile-4x8-ubuntu-2204 - namespace-profile-4x8-ubuntu-2204
- namespace-profile-8x16-ubuntu-2204 - namespace-profile-8x16-ubuntu-2204
- namespace-profile-16x32-ubuntu-2204 - namespace-profile-16x32-ubuntu-2204
- namespace-profile-32x64-ubuntu-2204 - namespace-profile-32x64-ubuntu-2204
# Namespace Ubuntu 24.04 (like ubuntu-latest)
- namespace-profile-2x4-ubuntu-2404
# Namespace Limited Preview # Namespace Limited Preview
- namespace-profile-8x16-ubuntu-2004-arm-m4 - namespace-profile-8x16-ubuntu-2004-arm-m4
- namespace-profile-8x32-ubuntu-2004-arm-m4 - namespace-profile-8x32-ubuntu-2004-arm-m4

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
update-collab-staging-tag: update-collab-staging-tag:
if: github.repository_owner == 'zed-industries' if: github.repository_owner == 'zed-industries'
runs-on: ubuntu-latest runs-on: namespace-profile-2x4-ubuntu-2404
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

View file

@ -37,7 +37,7 @@ jobs:
run_nix: ${{ steps.filter.outputs.run_nix }} run_nix: ${{ steps.filter.outputs.run_nix }}
run_actionlint: ${{ steps.filter.outputs.run_actionlint }} run_actionlint: ${{ steps.filter.outputs.run_actionlint }}
runs-on: runs-on:
- ubuntu-latest - namespace-profile-2x4-ubuntu-2404
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@ -237,7 +237,7 @@ jobs:
uses: ./.github/actions/build_docs uses: ./.github/actions/build_docs
actionlint: actionlint:
runs-on: ubuntu-latest runs-on: namespace-profile-2x4-ubuntu-2404
if: github.repository_owner == 'zed-industries' && needs.job_spec.outputs.run_actionlint == 'true' if: github.repository_owner == 'zed-industries' && needs.job_spec.outputs.run_actionlint == 'true'
needs: [job_spec] needs: [job_spec]
steps: steps:
@ -458,7 +458,7 @@ jobs:
tests_pass: tests_pass:
name: Tests Pass name: Tests Pass
runs-on: ubuntu-latest runs-on: namespace-profile-2x4-ubuntu-2404
needs: needs:
- job_spec - job_spec
- style - style

View file

@ -12,7 +12,7 @@ on:
jobs: jobs:
danger: danger:
if: github.repository_owner == 'zed-industries' if: github.repository_owner == 'zed-industries'
runs-on: ubuntu-latest runs-on: namespace-profile-2x4-ubuntu-2404
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

View file

@ -290,7 +290,7 @@ jobs:
update-nightly-tag: update-nightly-tag:
name: Update nightly tag name: Update nightly tag
if: github.repository_owner == 'zed-industries' if: github.repository_owner == 'zed-industries'
runs-on: ubuntu-latest runs-on: namespace-profile-2x4-ubuntu-2404
needs: needs:
- bundle-mac - bundle-mac
- bundle-linux-x86 - bundle-linux-x86

View file

@ -12,7 +12,7 @@ jobs:
shellcheck: shellcheck:
name: "ShellCheck Scripts" name: "ShellCheck Scripts"
if: github.repository_owner == 'zed-industries' if: github.repository_owner == 'zed-industries'
runs-on: ubuntu-latest runs-on: namespace-profile-2x4-ubuntu-2404
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4