From 29373763ddb00966e48a6f0708cef292cbf4b25f Mon Sep 17 00:00:00 2001 From: Victoria Martinez de la Cruz Date: Wed, 11 Mar 2026 15:29:08 +0100 Subject: [PATCH] Update unit tests job Ubuntu 20.04 images have been deprecated, so when the unit tests job is executed GH fails to find available runners. Use Ubuntu 22.04 as base image for the unit tests job to fix this issue. CentOS 8 Stream has also been deprecated. Use CentOS 9 Stream instead. --- .github/workflows/unit_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 37b92ba..5b39f60 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -31,7 +31,7 @@ on: jobs: test-framework: name: Unit test suite - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code @@ -94,7 +94,7 @@ jobs: - name: Run unit tests run: | export PROJECT_ROOT=/root/go/src/github.com/infrawatch/apputils - docker run -uroot --network host --volume=${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT quay.io/centos/centos:stream8 bash ci/run_ci.sh + docker run -uroot --network host --volume=${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT quay.io/centos/centos:stream9 bash ci/run_ci.sh - name: List dependency containers' logs run: | echo "---- rabbitmq ----"