From c214e44ecf99c512b1ad4207f374235c2ff35346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20G=C3=A9czi?= Date: Mon, 1 Apr 2024 00:00:04 +0000 Subject: [PATCH] [github/workflows]: Use the linter of flathub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Géczi --- .github/workflows/appstream-check.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/appstream-check.yaml b/.github/workflows/appstream-check.yaml index f74a49fc4f..4f9864c53a 100644 --- a/.github/workflows/appstream-check.yaml +++ b/.github/workflows/appstream-check.yaml @@ -14,16 +14,19 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Install appstream validator + - name: Install appstream validator and flatpak Builder shell: bash run: | sudo apt update -y sudo apt install -y \ flatpak sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - # We get it from flathub to ensure we have a recent version - sudo flatpak install -y org.freedesktop.appstream-glib + sudo flatpak install -y org.freedesktop.appstream-glib org.flatpak.Builder - name: Validate appstream data shell: bash run: flatpak run org.freedesktop.appstream-glib validate --nonet packaging/app.organicmaps.desktop.metainfo.xml + + - name: Lint appstream data with flatpak Builder + shell: bash + run: flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream packaging/app.organicmaps.desktop.metainfo.xml