-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/probonopd/appstreamlint
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |