From 5ccac6b0076c2eaab353449f74ce6b62e5cc76e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Tue, 1 Apr 2025 13:16:10 +0200 Subject: [PATCH] GH Action: check the SPEC osbuild/images deps minimum version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/tests.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8482009a0..b76ac1878 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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