From fc4c601ce1997e8f257b7cfdd6393b93b91ed8b2 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Thu, 11 Apr 2024 00:42:38 +0200 Subject: [PATCH] github: run all checks on ubuntu-latest The source prep script now runs a python script that import imgtestlib, which uses newer python3 features (match). Run on ubuntu-latest so we have a newer python version and update all runners to match. --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b103e78077..40852a0210 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ on: jobs: unit-tests: name: "🛃 Unit tests" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: registry.fedoraproject.org/fedora:latest @@ -42,7 +42,7 @@ jobs: unit-tests-c9s: name: "🛃 Unit tests (CentOS Stream 9)" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: quay.io/centos/centos:stream9 env: @@ -74,7 +74,7 @@ jobs: unit-tests-c8s: name: "🛃 Unit tests (CentOS Stream 8)" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: quay.io/centos/centos:stream8 env: @@ -138,7 +138,7 @@ jobs: prepare: name: "🔍 Check source preparation" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Set up Go 1.20 @@ -166,7 +166,7 @@ jobs: shellcheck: name: "🐚 Shellcheck" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: