From 95489d173bcc3cb97c300216153d16434cab674c Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Mon, 2 Dec 2024 21:27:34 +0100 Subject: [PATCH] github actions: switch to ubuntu-24.04 Github announced to switch the "ubuntu-latest" image to version 24.04: https://github.com/actions/runner-images/issues/10636 this starts shortly, but takes three weeks. to control when we use the new image, we explicitly select the new image now. --- .github/workflows/build.yml | 6 +++--- .github/workflows/cpplint.yml | 2 +- .github/workflows/repo-maintenance.yml | 4 ++-- .github/workflows/yarnlint.yml | 2 +- .github/workflows/yarnprettier.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d7b478ab..fdd60467e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ on: jobs: get_default_envs: name: Gather Environments - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -49,7 +49,7 @@ jobs: build: name: Build Environments - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: get_default_envs strategy: matrix: @@ -134,7 +134,7 @@ jobs: release: name: Create Release - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: [get_default_envs, build] if: startsWith(github.ref, 'refs/tags/2') steps: diff --git a/.github/workflows/cpplint.yml b/.github/workflows/cpplint.yml index 4c5fbd63f..1e3f4b27b 100644 --- a/.github/workflows/cpplint.yml +++ b/.github/workflows/cpplint.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # prevent push event from triggering if it's part of a local PR, see # https://github.com/orgs/community/discussions/57827#discussioncomment-6579237 diff --git a/.github/workflows/repo-maintenance.yml b/.github/workflows/repo-maintenance.yml index f7290c2e5..caaed1946 100644 --- a/.github/workflows/repo-maintenance.yml +++ b/.github/workflows/repo-maintenance.yml @@ -16,7 +16,7 @@ concurrency: jobs: stale: name: 'Stale' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/stale@v9 with: @@ -32,7 +32,7 @@ jobs: lock-threads: name: 'Lock Old Threads' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: dessant/lock-threads@v5 with: diff --git a/.github/workflows/yarnlint.yml b/.github/workflows/yarnlint.yml index 229a93db3..77c64d0fc 100644 --- a/.github/workflows/yarnlint.yml +++ b/.github/workflows/yarnlint.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # prevent push event from triggering if it's part of a local PR, see # https://github.com/orgs/community/discussions/57827#discussioncomment-6579237 diff --git a/.github/workflows/yarnprettier.yml b/.github/workflows/yarnprettier.yml index 260a19ba5..3f3bf9f26 100644 --- a/.github/workflows/yarnprettier.yml +++ b/.github/workflows/yarnprettier.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # prevent push event from triggering if it's part of a local PR, see # https://github.com/orgs/community/discussions/57827#discussioncomment-6579237