Skip to content

Commit

Permalink
feat(ci): validate appstream
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Jan 1, 2024
1 parent c7e608a commit 09a42b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
container: ghcr.io/geopjr/crystal-gtk:latest
steps:
- uses: actions/checkout@v3
- name: Validate AppStream
run: make validate-appstream
- name: Shards install & Generate bindings
run: make bindings
- name: Spec
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ uninstall:
rm -f $(PREFIX)/share/icons/hicolor/symbolic/apps/dev.geopjr.Collision-symbolic.svg
rm -rf $(PREFIX)$(LOCALE_LOCATION)/*/*/dev.geopjr.Collision.mo
gtk-update-icon-cache $(PREFIX)/share/icons/hicolor

validate-appstream:
appstreamcli validate ./data/dev.geopjr.Collision.metainfo.xml.in

0 comments on commit 09a42b1

Please sign in to comment.