Add GitHub Action to validate XML against XSD schemas #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: XML Validation | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
defaults: | ||
- runs-on: ubuntu-latest | ||
Check failure on line 10 in .github/workflows/xml-validation.yml
|
||
- uses: actions/checkout@v4 | ||
jobs: | ||
x86.xml: | ||
steps: | ||
- name: Validate x86.xml against x86.xsd schema | ||
run: | | ||
xmllint --schema opcodes/x86.xsd --noout opcodes/x86.xml | ||
x86_64.xml: | ||
steps: | ||
- name: Validate x86_64.xml against x86_64.xsd schema | ||
run: | | ||
xmllint --schema opcodes/x86_64.xsd --noout opcodes/x86_64.xml | ||
k1om.xml: | ||
steps: | ||
- name: Validate k1om.xml against k1om.xsd schema | ||
run: | | ||
xmllint --schema opcodes/k1om.xsd --noout opcodes/k1om.xml |