workflows: Use ubuntu-22.04 for tests.yml
github is dropping support for 20.04 on 4/1/2025 so move to the next
stable version.
Also, back in commit e8ae7e7cae we removed
use of ubuntu-latest because it can change unexpectedly. Some other uses
crept back in, so this changes those to use 22.04 as well.
This commit is contained in:
parent
5bfd06e4ce
commit
53d50e875d
1 changed files with 13 additions and 13 deletions
26
.github/workflows/tests.yml
vendored
26
.github/workflows/tests.yml
vendored
|
|
@ -13,7 +13,7 @@ on:
|
|||
jobs:
|
||||
unit-tests:
|
||||
name: "🛃 Unit tests"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: registry.fedoraproject.org/fedora:40
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
|
||||
db-tests:
|
||||
name: "🗄 DB tests"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
services:
|
||||
postgres:
|
||||
# 12 is used in deployments
|
||||
|
|
@ -85,7 +85,7 @@ jobs:
|
|||
|
||||
python-lint:
|
||||
name: "🐍 Lint python scripts"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: registry.fedoraproject.org/fedora:40
|
||||
steps:
|
||||
|
|
@ -104,7 +104,7 @@ jobs:
|
|||
|
||||
golang-lint:
|
||||
name: "⌨ Golang Lint"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Set up Go 1.22
|
||||
uses: actions/setup-go@v5
|
||||
|
|
@ -133,7 +133,7 @@ jobs:
|
|||
|
||||
packit-config-lint:
|
||||
name: "📦 Packit config lint"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: registry.fedoraproject.org/fedora:latest
|
||||
steps:
|
||||
|
|
@ -151,7 +151,7 @@ jobs:
|
|||
|
||||
prepare:
|
||||
name: "🔍 Check source preparation"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.22
|
||||
|
|
@ -179,7 +179,7 @@ jobs:
|
|||
|
||||
check-snapshots:
|
||||
name: "🔍 Check for valid snapshot urls"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -190,7 +190,7 @@ jobs:
|
|||
|
||||
check-runners:
|
||||
name: "🔍 Check for missing or unused runner repos"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -201,7 +201,7 @@ jobs:
|
|||
|
||||
shellcheck:
|
||||
name: "🐚 Shellcheck"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -232,7 +232,7 @@ jobs:
|
|||
|
||||
rpmlint:
|
||||
name: "📦 RPMlint"
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
container: registry.fedoraproject.org/fedora:40
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
|
|
@ -252,7 +252,7 @@ jobs:
|
|||
|
||||
gitlab-ci-helper:
|
||||
name: "Gitlab CI trigger helper"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
SKIP_CI: ${{ (github.event.pull_request.draft == true || contains(github.event.pull_request.labels.*.name, 'WIP')) && !contains(github.event.pull_request.labels.*.name, 'WIP+test') }}
|
||||
steps:
|
||||
|
|
@ -266,7 +266,7 @@ jobs:
|
|||
|
||||
kube-linter:
|
||||
name: "🎀 kube-linter"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: redhat-actions/oc-installer@v1
|
||||
|
|
@ -282,7 +282,7 @@ jobs:
|
|||
|
||||
cloud-cleaner-is-enabled:
|
||||
name: "🧹 cloud-cleaner-is-enabled"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Check if workflow is enabled
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue