Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Mar 25, 2024
2 parents 22aae3c + 99260ba commit 3d30c3a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/build_and_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Lint

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'

- name: Build
run: go build

- name: Run appstreamlint
run: |
./appstreamlint com.example.appname.metainfo.xml
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# appstreamlint
A minimalistic lint tool for AppStream MetaInfo files that checks that the essential fields of the 1.0 specification are there

A minimalistic lint tool for AppStream MetaInfo files for applications that checks that the essential fields of the AppStream MetaInfo 1.0 specification are there.

It roughly follows https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps.

This is meant to satisfy the requirements for AppStream MetaInfo files shipped inside AppImages, in the hope that future AppStream MetaInfo specification won't contradict the AppStream MetaInfo 1.0 specification and hence the 1.0 version of the specification can stay the requirement for AppStream MetaInfo files shipped inside AppImages indefinitely.

0 comments on commit 3d30c3a

Please sign in to comment.