Skip to content

Commit 25a013c

Browse files
committed
Create lint-info-xml.yml
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 432a4f7 commit 25a013c

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow is provided via the organization template repository
2+
#
3+
# https://github.com/nextcloud/.github
4+
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
6+
name: Lint
7+
8+
on:
9+
pull_request:
10+
push:
11+
branches:
12+
- master
13+
- stable*
14+
15+
jobs:
16+
xml-linters:
17+
runs-on: ubuntu-latest
18+
19+
name: info.xml lint
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@master
23+
24+
- name: Download schema
25+
run: wget https://github.com/nextcloud/server/master/resources/app-info-shipped.xsd
26+
27+
- name: Lint info.xml
28+
uses: ChristophWurst/xmllint-action@v1
29+
with:
30+
xml-file: ./appinfo/info.xml
31+
xml-schema-file: ./info.xsd

0 commit comments

Comments
 (0)