Skip to content

Commit

Permalink
GitHub Actions: bump runners ubuntu version to latest available
Browse files Browse the repository at this point in the history
Backport, original commit 51a61f8

Accoring to [1] Ubuntu 20.04 runners in GitHub will be fully unsuppoerted
by 2025-04-01. This commit bumps GitHub-provided runners to latest available
Ubuntu 24.04 and BuildJet-provided runners are updated to latest available
Ubuntu 22.04

I am not changing runners to latest because fixed version guarantees
stability of packages across workflow runs

[1] - actions/runner-images#11101

Signed-off-by: Pavel Abramov <[email protected]>
  • Loading branch information
uncleDecart authored and OhmSpectator committed Feb 14, 2025
1 parent 9b77256 commit 2ad8874
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# to "emulated" arm64 side on the amd64 runner.
#
# The trick we play is that we keep it as a matrix job still, but we make
# it use the same GitHub provided x86 ubuntu-20.04 runners. The runner that
# it use the same GitHub provided x86 ubuntu-24.04 runners. The runner that
# gets to unpack arm64 artifacts does so with the help of binfmt-support and
# qemu-user-static

Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
echo "release_id=$release_id" >> "$GITHUB_OUTPUT"
echo "upload_url=$upload_url" >> "$GITHUB_OUTPUT"
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: create_release
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
include:
- os: buildjet-4vcpu-ubuntu-2204-arm
arch: arm64
- os: buildjet-4vcpu-ubuntu-2004
- os: buildjet-4vcpu-ubuntu-2204
arch: amd64
- os: buildjet-4vcpu-ubuntu-2004
- os: buildjet-4vcpu-ubuntu-2204
arch: riscv64
steps:
- name: Starting Report
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
eve:
needs: packages # all packages for all platforms must be built first
runs-on: buildjet-4vcpu-ubuntu-2004
runs-on: buildjet-4vcpu-ubuntu-2204
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/buildondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
include:
- os: buildjet-4vcpu-ubuntu-2204-arm
arch: arm64
- os: buildjet-4vcpu-ubuntu-2004
- os: buildjet-4vcpu-ubuntu-2204
arch: amd64
- os: buildjet-4vcpu-ubuntu-2004
- os: buildjet-4vcpu-ubuntu-2204
arch: riscv64
steps:
- name: Starting Report
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
needs: packages # all packages for all platforms must be built first
# Only run for the default branch
if: github.ref_name == github.event.repository.default_branch
runs-on: buildjet-4vcpu-ubuntu-2004
runs-on: buildjet-4vcpu-ubuntu-2204
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
include:
- os: arm64-secure
arch: arm64
- os: ubuntu-20.04
- os: ubuntu-24.04
arch: amd64
- os: ubuntu-latest
arch: riscv64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yetus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on: # yamllint disable-line rule:truthy

jobs:
yetus:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 2ad8874

Please sign in to comment.