mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
CI: Add pre-commit hook for XML schema validation
This commit is contained in:
parent
25203e24c4
commit
d3113441ba
3 changed files with 51 additions and 16 deletions
6
.github/workflows/static_checks.yml
vendored
6
.github/workflows/static_checks.yml
vendored
|
|
@ -35,9 +35,3 @@ jobs:
|
|||
uses: pre-commit/action@v3.0.1
|
||||
with:
|
||||
extra_args: --files ${{ env.CHANGED_FILES }}
|
||||
|
||||
- name: Class reference schema checks
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libxml2-utils
|
||||
xmllint --quiet --noout --schema doc/class.xsd doc/classes/*.xml modules/*/doc_classes/*.xml platform/*/doc_classes/*.xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue