From 4f4fe7b540770043701407c815339b544bf44fba Mon Sep 17 00:00:00 2001 From: quietly-turning Date: Wed, 20 Mar 2024 13:55:31 -0400 Subject: [PATCH] validate LuaDoc XML as GitHub Workflow CI --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02a9243dd7..f5396387f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,3 +72,16 @@ jobs: run: cmake -B build - name: Build run: cmake --build build + + validate-xml-docs: + name: Validate Lua.xml, LuaDocumentation.xml + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y + libxml2-utils + - name: Validate Lua.xml + run: xmllint --noout Docs/Luadoc/Lua.xml + - name: Validate LuaDocumentation.xml + run: xmllint --noout Docs/Luadoc/LuaDocumentation.xml