Skip to content

Commit

Permalink
Add AppStream validation to GitHub CI
Browse files Browse the repository at this point in the history
Validate AppStream metadata as part of GitHub CI.

AppStream metadata becoming invalid due to stricter validation has
prevented trivial Flathub version updates a few times, requiring any
errors to be fixed before a new build can be published. This should
hopefully reduce such incidents.
  • Loading branch information
Matoking committed Feb 22, 2024
1 parent b8099d2 commit 1dabf82
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/appstream.yaml
@@ -0,0 +1,19 @@
---
name: Validate AppStream

on: [push, pull_request]

permissions: read-all

jobs:
validate:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install appstreamcli
run: sudo apt install appstream

- name: Validate AppStream metadata
run: appstreamcli validate data/com.github.Matoking.protontricks.metainfo.xml

0 comments on commit 1dabf82

Please sign in to comment.