From 2da1a37fce2600b914b41dbd0d83f6c5f2e227a5 Mon Sep 17 00:00:00 2001 From: Simon Martens <61149221+Simon-Martens@users.noreply.github.com> Date: Wed, 17 Jul 2024 19:29:41 +0200 Subject: [PATCH] Create verweise.yml workflow --- .github/workflows/verweise.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/verweise.yml diff --git a/.github/workflows/verweise.yml b/.github/workflows/verweise.yml new file mode 100644 index 0000000..66acdd1 --- /dev/null +++ b/.github/workflows/verweise.yml @@ -0,0 +1,28 @@ +name: Verweise prüfen + +on: + push: + paths: + - 'XML/**/*.xml' + pull_request: + paths: + - 'XML/**/*.xml' + +jobs: + lint: + 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