GH action that iterates all RDF files in the repository and validates their syntax using Apache Jena's riot parser. The action fails as soon as an invalid file is detected.
name: RDF data validation
on:
push:
paths:
- '**.ttl'
- '**.trig'
- '**.nt'
- '**.nq'
- '**.rdf'
- '**.trix'
- '**.jsonld'
jobs:
rdf-syntax-check:
runs-on: ubuntu-latest
steps:
- name: RDF syntax check
uses: AtomGraph/[email protected]