seL4/.github/workflows/xml_lint.yml
matt rice b0d70f1ebc add libsel4/tools/sel4_idl.xsd to replace dtd
No intended changes to the schema, just change
the schema from dtd to xsd, and update ci to use it.

Signed-off-by: matt rice <ratmice@gmail.com>
2022-03-22 18:33:38 +11:00

32 lines
651 B
YAML

# Copyright 2021, Proofcraft Pty Ltd
#
# SPDX-License-Identifier: BSD-2-Clause
# xmllint for seL4 IDL files
name: XML
on:
push:
branches:
- master
paths:
- 'libsel4/**/sel4*.xml'
- 'libsel4/**/sel4*.xsd'
pull_request:
paths:
- 'libsel4/**/sel4*.xml'
- 'libsel4/**/sel4*.xsd'
jobs:
xmllint:
name: XML Lint
runs-on: ubuntu-latest
steps:
- name: install xmllint
run: sudo apt-get install libxml2-utils
- uses: actions/checkout@v2
- name: run xmllint
run: |
find libsel4 -name "sel4*.xml" | \
xargs xmllint --schema libsel4/tools/sel4_idl.xsd --noout