GH Action: check the SPEC osbuild/images deps minimum version

Add a check which leverages the osbuild/images@check-spec-deps-action
action to check that the SPEC files requires at least the minimum
versions for dependencies specified by the `osbuild/images`.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-04-01 13:16:10 +02:00 committed by Simon de Vlieger
parent 86af7dcf04
commit 5ccac6b007

View file

@ -295,3 +295,14 @@ jobs:
echo "Go to https://github.com/osbuild/cloud-cleaner/actions/workflows/run_ib.yml and"
echo "https://github.com/osbuild/cloud-cleaner/actions/workflows/run_cloudx.yml and"
echo "manually enable it!"
check-spec-images-deps:
name: "🔍 Check spec file osbuild/images dependencies"
runs-on: ubuntu-latest
container: registry.fedoraproject.org/fedora:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check dependencies in spec file
uses: osbuild/images@check-spec-deps-action