From 264c5ef6a9658f49f84a3ae9e76dc8b85007d9ce Mon Sep 17 00:00:00 2001 From: Andrei Horodniceanu Date: Wed, 2 Jul 2025 19:50:19 +0300 Subject: [PATCH] CI: update ubuntu version ubuntu-20.04 has been retired Signed-off-by: Andrei Horodniceanu --- .github/workflows/ci.yml | 6 +++--- .github/workflows/pr_info_intro.yml | 2 +- .github/workflows/pr_info_post.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7052a19..0248c7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: # use older ubuntu / linux version for glibc compatibility - os: [ubuntu-20.04, windows-latest, macos-latest] + os: [ubuntu-22.04, windows-latest, macos-latest] dc: - ldc-latest - dmd-latest @@ -28,8 +28,8 @@ jobs: build: debug libdparse-version: min # old compiler tests - - { os: ubuntu-20.04, dc: dmd-2.095.1, libdparse-version: min, build: debug, arch: x86_64 } - - { os: ubuntu-20.04, dc: ldc-1.25.0, libdparse-version: min, build: debug, arch: x86_64 } + - { os: ubuntu-22.04, dc: dmd-2.095.1, libdparse-version: min, build: debug, arch: x86_64 } + - { os: ubuntu-22.04, dc: ldc-1.25.0, libdparse-version: min, build: debug, arch: x86_64 } runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pr_info_intro.yml b/.github/workflows/pr_info_intro.yml index c9ef855..d8db98d 100644 --- a/.github/workflows/pr_info_intro.yml +++ b/.github/workflows/pr_info_intro.yml @@ -10,7 +10,7 @@ on: jobs: intro_comment: name: Make intro comment - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: 'Prepare sticky comment' # commit of v2.5.0 diff --git a/.github/workflows/pr_info_post.yml b/.github/workflows/pr_info_post.yml index c3a0914..2597375 100644 --- a/.github/workflows/pr_info_post.yml +++ b/.github/workflows/pr_info_post.yml @@ -9,7 +9,7 @@ on: jobs: comment: name: PR Info - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: > github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55d2661..a3cbc36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: # use older ubuntu / linux version for glibc compatibility - os: [ubuntu-20.04, windows-latest, macos-latest] + os: [ubuntu-22.04, windows-latest, macos-latest] dc: - ldc-latest arch: