diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-15 14:10:29 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-15 14:12:23 +0300 |
commit | 7d6ffbfa2e4f8e699bd4d43f00d86ee035b3ede1 (patch) | |
tree | 87d63cb2dbd4076f7817ac4a0911d46cb01cf5aa /.github | |
parent | eecc39db4063c2422dff377a302aa61b471cda74 (diff) |
Validate the info.xml file with a workflow
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 34e9d1787..47a190357 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -87,3 +87,16 @@ jobs: - name: Lint run: npm run stylelint + + xml-linters: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Download schema + run: wget https://apps.nextcloud.com/schema/apps/info.xsd + - name: Lint info.xml + uses: ChristophWurst/xmllint-action@v1 + with: + xml-file: ./appinfo/info.xml + xml-schema-file: ./info.xsd |