From b23c2c8766f41f1cab181a1589ca73ba94c9af8e Mon Sep 17 00:00:00 2001 From: Simon Martens <61149221+Simon-Martens@users.noreply.github.com> Date: Wed, 17 Jul 2024 19:34:25 +0200 Subject: [PATCH] Create XML_lint.yml --- .github/workflows/XML_lint.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/XML_lint.yml diff --git a/.github/workflows/XML_lint.yml b/.github/workflows/XML_lint.yml new file mode 100644 index 0000000..869e96e --- /dev/null +++ b/.github/workflows/XML_lint.yml @@ -0,0 +1,28 @@ +name: XML prüfen + +on: + push: + paths: + - 'XML/**/*.xml' + pull_request: + paths: + - 'XML/**/*.xml' + +jobs: + Verweise: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Python-Setup + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Abhängigkeiten installieren + run: | + python -m pip install --upgrade pip + pip install lxml + + - name: Verweise prüfen + run: python Scripts/lint_verweise.py