liniuting

This commit is contained in:
Simon Martens
2025-03-04 16:43:59 +01:00
parent 19b694934a
commit 627c6570ae
2 changed files with 617 additions and 0 deletions

40
.github/workflows/lint-xml.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Lint XML
on:
push:
branches:
- main
- '**' # Or specify branches as needed
pull_request:
branches:
- main
- '**'
jobs:
lint-xml:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install lxml
- name: Lint XML references
run: |
# Adjust the command/path to your script as needed
python scripts/lint_verweise.py \
meta.xml \
references.xml \
briefe.xml \
edits.xml \
traditions.xml \
Marginal-Kommentar.xml \
--register Register-Kommentar.xml Bibel-Kommentar.xml forschung.xml