소스 검색

build: Validate XML (#71)

Kroese 1 년 전
부모
커밋
10813716d4
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  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'