ci: workflows: Align used host

Ubuntu-24.04 is the version to be used as default in all
gh workflows

Signed-off-by: Maciej Perkowski <maciej.perkowski@nordicsemi.no>
This commit is contained in:
Maciej Perkowski 2025-04-15 15:00:23 +02:00 committed by Benjamin Cabé
commit 2f9faa0a93
25 changed files with 26 additions and 26 deletions

View file

@ -22,7 +22,7 @@ jobs:
assignment:
name: Pull Request Assignment
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
pull-requests: write # to add assignees to pull requests
issues: write # to add assignees to issues

View file

@ -13,7 +13,7 @@ permissions:
jobs:
backport:
name: Backport
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # to create/push backport branches
pull-requests: write # to create backport PRs

View file

@ -19,7 +19,7 @@ jobs:
concurrency:
group: backport-issue-check-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'zephyrproject-rtos/zephyr'
permissions:
issues: read # to check if associated issue exists for backport

View file

@ -12,7 +12,7 @@ permissions:
jobs:
bsim-test-results:
name: "Publish BabbleSim Test Results"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.event.workflow_run.conclusion != 'skipped'
permissions:
checks: write # to create the check run entry with test results

View file

@ -19,7 +19,7 @@ permissions:
jobs:
make_bugs_pickle:
name: Make bugs pickle
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository_owner == 'zephyrproject-rtos'
steps:

View file

@ -134,7 +134,7 @@ jobs:
codecov-results:
name: "Publish Coverage Results"
needs: codecov
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
# the codecov job might be skipped, we don't need to run this job then
if: success() || failure()

View file

@ -7,7 +7,7 @@ permissions:
jobs:
compliance_job:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Run coding guidelines checks on patch series (PR)
steps:
- name: Checkout the code

View file

@ -13,7 +13,7 @@ permissions:
jobs:
check_compliance:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Run compliance checks on patch series (PR)
steps:
- name: Update PATH for west

View file

@ -15,7 +15,7 @@ permissions:
jobs:
get_version:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'zephyrproject-rtos/zephyr'
steps:

View file

@ -16,7 +16,7 @@ permissions:
jobs:
doc-publish:
name: Publish Documentation
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: |
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' &&

View file

@ -19,7 +19,7 @@ permissions:
jobs:
doc-publish:
name: Publish Documentation
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: |
github.event.workflow_run.event != 'pull_request' &&
github.event.workflow_run.conclusion == 'success' &&

View file

@ -11,7 +11,7 @@ permissions:
jobs:
check-errno:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: ghcr.io/zephyrproject-rtos/ci:v0.27.4

View file

@ -11,7 +11,7 @@ permissions:
jobs:
check_for_first_interaction:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'zephyrproject-rtos/zephyr'
permissions:
pull-requests: write # to comment on pull requests

View file

@ -17,7 +17,7 @@ env:
jobs:
track-issues:
name: "Collect Issue Stats"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'zephyrproject-rtos/zephyr'
steps:

View file

@ -7,7 +7,7 @@ permissions:
jobs:
scancode_job:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Scan code for licenses
steps:
- name: Checkout the code

View file

@ -7,7 +7,7 @@ permissions:
jobs:
contribs:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
pull-requests: write # to create/update pull request comments
name: Manifest

View file

@ -16,7 +16,7 @@ permissions:
jobs:
do-not-merge:
name: Prevent Merging
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check for label
if: ${{ contains(github.event.*.labels.*.name, 'DNM') ||
@ -32,7 +32,7 @@ jobs:
empty_pr_description:
if: ${{ github.event.pull_request.body == '' }}
name: PR Description
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check for PR description
run: |

View file

@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
os: [ubuntu-22.04]
os: [ubuntu-24.04]
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

View file

@ -11,7 +11,7 @@ permissions:
jobs:
release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # to create GitHub release entry
steps:

View file

@ -17,7 +17,7 @@ concurrency:
jobs:
cleanup:
name: Cleanup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
actions: write # to delete stale workflow runs

View file

@ -9,7 +9,7 @@ permissions:
jobs:
stale:
name: Find Stale issues and PRs
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'zephyrproject-rtos/zephyr'
permissions:
pull-requests: write # to comment on stale pull requests

View file

@ -13,7 +13,7 @@ permissions:
jobs:
record_merged:
if: github.event.pull_request.merged == true && github.repository == 'zephyrproject-rtos/zephyr'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

View file

@ -19,7 +19,7 @@ jobs:
env:
ELASTICSEARCH_KEY: ${{ secrets.ELASTICSEARCH_KEY }}
ELASTICSEARCH_SERVER: "https://elasticsearch.zephyrproject.io:443"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
# Needed for elasticearch and upload script
- name: Checkout

View file

@ -310,7 +310,7 @@ jobs:
name: "Publish Unit Tests Results"
needs:
- twister-build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
checks: write # to create the check run entry with Twister test results
# the build-and-test job might be skipped, we don't need to run this job then

View file

@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
os: [ubuntu-22.04]
os: [ubuntu-24.04]
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2