From 15c8398b6ebea122e18db9da68ae8d22f7b52be6 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 17 Oct 2026 14:20:31 +0200 Subject: [PATCH] Run host-toolchain CI jobs on ubuntu-26.04 GitHub moves ubuntu-latest to Ubuntu 26.04 between 2026-10-19 and 2026-11-19 (actions/runner-images#14748). Run the jobs that use the runner's own compilers and tools on ubuntu-26.04 now to find breakage before the rollout. Container jobs are unaffected. Signed-off-by: Niels Lohmann --- .github/workflows/check_amalgamation.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/semgrep.yml | 2 +- .github/workflows/ubuntu.yml | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check_amalgamation.yml b/.github/workflows/check_amalgamation.yml index ba60d70e9..43b6d5cc5 100644 --- a/.github/workflows/check_amalgamation.yml +++ b/.github/workflows/check_amalgamation.yml @@ -37,7 +37,7 @@ jobs: path: pr/ check: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 env: MAIN_DIR: ${{ github.workspace }}/main INCLUDE_DIR: ${{ github.workspace }}/main/single_include/nlohmann diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1c4527f02..90e356b8a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,7 +21,7 @@ permissions: jobs: CodeQL-Build: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: security-events: write diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index f9c11156d..ddf181b17 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -33,7 +33,7 @@ jobs: security-events: write # for github/codeql-action/upload-sarif to upload SARIF results actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status name: Scan - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Harden Runner uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 025f58179..8e7d8e0b9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -32,7 +32,7 @@ jobs: run: cmake --build build --target ci_test_gcc ci_meson_install: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -77,7 +77,7 @@ jobs: cmake --build build-import-split ci_infer: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Harden Runner uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 @@ -106,7 +106,7 @@ jobs: if-no-files-found: ignore ci_static_analysis_ubuntu: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 strategy: matrix: target: [ci_test_single_header, ci_cppcheck, ci_cpplint, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_reuse_compliance, ci_test_valgrind] @@ -175,7 +175,7 @@ jobs: run: cmake --build build --target ${{ matrix.target }} ci_test_coverage: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Harden Runner uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 @@ -430,7 +430,7 @@ jobs: run: cmake --build build --target ci_nvhpc ci_emscripten: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Harden Runner uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 @@ -450,7 +450,7 @@ jobs: run: cmake --build build ci_test_documentation: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 strategy: matrix: target: [ci_test_examples, ci_test_build_documentation, ci_test_documentation_mermaid]