Files
VeraCrypt/.github/workflows/xmlvalidate.yml
T
Mounir IDRASSI dbe3a72de4 Translations: restore key coverage and fix XML validation
Add English fallbacks for 12 missing keys in 41 language files.
Report all missing keys and XML errors before failing validation.

Run four regression tests in CI. All tests and 43 XML files pass.
2026-10-04 11:18:54 +09:00

41 lines
1.0 KiB
YAML

name: Validate XML
on:
push:
branches: [ "master" ]
paths:
- 'Translations/*'
- 'src/Common/Language.xml'
- '.github/workflows/xmlvalidate.*'
- 'Tests/test_xmlvalidate.py'
pull_request:
branches: [ "master" ]
paths:
- 'Translations/*'
- 'src/Common/Language.xml'
- '.github/workflows/xmlvalidate.*'
- 'Tests/test_xmlvalidate.py'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'latest'
- name: Install fast-xml-parser
run: npm install fast-xml-parser@4.5.2 -g
- name: Test XML validator
run: python3 Tests/test_xmlvalidate.py
- name: Run XML validator script
run: ${{ github.workspace }}/.github/workflows/xmlvalidate.sh "${{ github.workspace }}"