From ecde334fb7e1ba59dc1c3785ba0e626cca90706c Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Tue, 22 Apr 2025 09:54:33 +0200 Subject: [PATCH] Switch GitHub Action to use ubuntu-latest. The version 20.04 was deprecated and it is not possible to run it at all See https://github.com/actions/runner-images/issues/11101 Signed-off-by: Petr "Stone" Hracek --- .github/workflows/build-and-push.yml | 2 +- .github/workflows/container-tests.yml | 2 +- .github/workflows/container-upstream-tests.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 1174028b..906a46cf 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -8,7 +8,7 @@ on: jobs: build-and-push: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.repository_owner == 'sclorg' strategy: fail-fast: false diff --git a/.github/workflows/container-tests.yml b/.github/workflows/container-tests.yml index c06232b1..786cb92a 100644 --- a/.github/workflows/container-tests.yml +++ b/.github/workflows/container-tests.yml @@ -6,7 +6,7 @@ jobs: container-tests: # This job only runs for '[test]' pull request comments by owner, member name: "Container tests: ${{ matrix.version }} - ${{ matrix.os_test }}" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest concurrency: group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }} cancel-in-progress: true diff --git a/.github/workflows/container-upstream-tests.yml b/.github/workflows/container-upstream-tests.yml index 70d56b73..d278eba5 100644 --- a/.github/workflows/container-upstream-tests.yml +++ b/.github/workflows/container-upstream-tests.yml @@ -4,9 +4,9 @@ on: - created jobs: container-tests: - # This job only runs for '[test]' pull request comments by owner, member + # This job only runs for '[test-upstream]' pull request comments by owner, member name: "Container Upstream Tests ${{ matrix.version }} - ${{ matrix.os_test }}" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest concurrency: group: container-upstream-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }} cancel-in-progress: true