diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 25cb596871..74093fd3ca 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,6 +14,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Install xmllint + run: sudo apt-get update && sudo apt-get install -y libxml2-utils + + - name: Validate strings.xml syntax + run: | + find . -name "strings.xml" -not -path "*/build/*" | while read f; do + xmllint --noout "$f" || exit 1 + done + - name: Set up JDK uses: actions/setup-java@v4 with: