From c5a86bdacebb9e2fd30f1f72a0fd33a4aa26cf2b Mon Sep 17 00:00:00 2001 From: deltragon Date: Sun, 24 Aug 2025 23:07:00 +0200 Subject: [PATCH] ci: validate the appstream/metainfo file also fixes the error --- .github/workflows/lint.yml | 7 +++++++ .../io.github.slgobinath.SafeEyes.metainfo.xml | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 671d94ba..5e1eebcb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,3 +13,10 @@ jobs: # this runs `ruff check` - run: ruff format --check # this runs `ruff format --check`, additionally + lint-appstream: + runs-on: ubuntu-latest + name: appstream + steps: + - name: Check out source repository + uses: actions/checkout@v3 + - run: appstreamcli validate safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml diff --git a/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml b/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml index f0c561ff..7de1b4b0 100644 --- a/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml +++ b/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml @@ -54,12 +54,12 @@ - - - - - - + + + + + +