Browse Source

build: Validate XML (#71)

Kroese 1 năm trước cách đây
mục cha
commit
10813716d4
1 tập tin đã thay đổi với 7 bổ sung2 xóa
  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'