Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/actions/plan/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const selfHostedRunners = {
} as const;

export type StandardRunnerOS =
| "ubuntu-24.04"
| "ubuntu-22.04"
| "ubuntu-20.04"
| "macos-13"
Expand Down Expand Up @@ -36,12 +37,23 @@ const buildEnvScriptPath = (script: string) =>

// All the platforms that we support, and their respective settings.
export const all = {
ubuntu2404: {
name: "Ubuntu 24.04",
os: "ubuntu-24.04",
buildEnvScript: buildEnvScriptPath("ubuntu.sh"),
isOnSelfHostedRunner: false,
essential: true,
env: {},
cacheKey: "ubuntu2404-amd64",
artifactMarker: "ubuntu2404",
isBroken: false,
},
ubuntu2204: {
name: "Ubuntu 22.04",
os: "ubuntu-22.04",
buildEnvScript: buildEnvScriptPath("ubuntu.sh"),
isOnSelfHostedRunner: false,
essential: true,
essential: false,
env: {},
cacheKey: "ubuntu2204-amd64",
artifactMarker: "ubuntu2204",
Expand Down Expand Up @@ -96,4 +108,4 @@ export const all = {
} satisfies Platforms;

// A platform for running things that are platform-independent.
export const core = all.ubuntu2204 satisfies Platform;
export const core = all.ubuntu2404 satisfies Platform;
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
draft-release:
name: Create a release draft
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
release-id: ${{ steps.create-release.outputs.id }}
upload-url: ${{ steps.create-release.outputs.upload_url }}
Expand All @@ -42,7 +42,7 @@ jobs:

plan:
name: Plan the execution
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
permissions:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
- build
name: Publish release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 50
permissions:
contents: write
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
jobs:
plan:
name: Plan the execution
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
permissions:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
build-args: "--features try-runtime"
fail-fast: false
name: End-to-end tests / ${{ matrix.test.suite }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 50
permissions:
contents: read
Expand All @@ -94,7 +94,7 @@ jobs:

- uses: ./.github/actions/common-setup
with:
platformCacheKey: ubuntu2204-amd64
platformCacheKey: ubuntu2404-amd64
buildEnvScript: .github/scripts/build_env/ubuntu.sh
timeout-minutes: 10

Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
run: utils/checks/features-snapshot
fail-fast: false
name: ${{ matrix.util.name }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
permissions:
contents: read
Expand All @@ -139,7 +139,7 @@ jobs:

- uses: ./.github/actions/common-setup
with:
platformCacheKey: ubuntu2204-amd64
platformCacheKey: ubuntu2404-amd64
timeout-minutes: 10

- run: ${{ matrix.util.run }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:

fail-fast: false
name: ${{ matrix.util.name }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
permissions:
contents: read
Expand All @@ -205,7 +205,7 @@ jobs:

prettier:
name: prettier:check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 50
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
update-features-snapshot:
name: Update features snapshot
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
permissions:
contents: read
Expand All @@ -37,7 +37,7 @@ jobs:

- uses: ./.github/actions/common-setup
with:
platformCacheKey: ubuntu2204-amd64
platformCacheKey: ubuntu2404-amd64
timeout-minutes: 10
if: ${{ env.IS_DEPENDABOT == 'true' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
docker:
name: Docker
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 50
permissions:
contents: read
Expand Down
Loading