summaryrefslogtreecommitdiff
path: root/.github/workflows/static_checks.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/static_checks.yml')
-rw-r--r--.github/workflows/static_checks.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml
index 1f8888885a..724bebbd13 100644
--- a/.github/workflows/static_checks.yml
+++ b/.github/workflows/static_checks.yml
@@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get install -qq dos2unix recode clang-format-13
+ sudo apt-get install -qq dos2unix recode clang-format-13 libxml2-utils
sudo update-alternatives --remove-all clang-format
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 100
sudo pip3 install black==21.10b0 pygments
@@ -48,6 +48,10 @@ jobs:
npm run lint
npm run docs -- -d dry-run
+ - name: Class reference schema checks
+ run: |
+ xmllint --noout --schema doc/class.xsd doc/classes/*.xml modules/*/doc_classes/*.xml
+
- name: Documentation checks
run: |
doc/tools/make_rst.py --dry-run doc/classes modules