We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 432a4f7 commit 25a013cCopy full SHA for 25a013c
1 file changed
.github/workflows/lint-info-xml.yml
@@ -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