mirror of
https://github.com/Theodor-Springmann-Stiftung/KGPZ.git
synced 2025-10-29 17:15:31 +00:00
Merge branch 'main' of github.com:Theodor-Springmann-Stiftung/KGPZ
This commit is contained in:
28
.github/workflows/verweise.yml
vendored
Normal file
28
.github/workflows/verweise.yml
vendored
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user