Skip to content

Add nix support

Add nix support #6

name: Validate MetaInfo
"on":
pull_request:
branches: [main, add_nix_support]
paths:
- '**.nix'
- .github/workflows/appstream-util-validate.yaml
- flake.lock
- packaging/linux/com.jmuelbert,jmbde.metainfo.xml
push:
branches: [main, add_nix_support]
paths:
- '**.nix'
- .github/workflows/appstream-util-validate.yaml
- flake.lock
- packaging/linux/com.jmuelbert,jmbde.metainfo.xml
jobs:
appstream-util-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Check the MetaInfo file
run: nix develop --command appstream-util validate packaging/com.jmuelbert.jmbde.metainfo.xml