Browse Source

build: Validate XML (#71)

Kroese 1 year ago
parent
commit
10813716d4
1 changed files with 7 additions and 2 deletions
  1. 7 2
      .github/workflows/check.yml

+ 7 - 2
.github/workflows/check.yml

@@ -10,5 +10,10 @@ jobs:
       - uses: actions/checkout@v4
       - name: Run ShellCheck
         uses: ludeeus/action-shellcheck@master
-env:
-        SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2034 -e SC2064 -e SC2317 -e SC2153
+        env:
+          SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2034 -e SC2064 -e SC2317 -e SC2153
+      - name: Validate XML
+        uses: anyone-developer/anyone-validate-xml@main
+        with:
+         file-extension: '.xml'
+         read-path: 'assets'