From f98dcad90a16841a9566d08a1aa92d83f2545e27 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Wed, 14 Aug 2024 03:13:41 +0000 Subject: [PATCH] CI: Run appstreamcli validate --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..15b33e2 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: CI +on: + push: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + appstream-validate: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + + - name: Install appstream + run: | + sudo apt-get update + sudo apt-get install -y appstream + + - name: Validate metainfo + run: | + appstreamcli validate --strict --pedantic --explain org.DolphinEmu.dolphin-emu.metainfo.xml