Skip to content

Add GitHub Action to validate XML against XSD schemas #1

Add GitHub Action to validate XML against XSD schemas

Add GitHub Action to validate XML against XSD schemas #1

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

View workflow run for this annotation

GitHub Actions / XML Validation

Invalid workflow file

The workflow is not valid. .github/workflows/xml-validation.yml (Line: 10, Col: 3): A sequence was not expected .github/workflows/xml-validation.yml (Line: 15, Col: 5): Required property is missing: runs-on
- 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