diff --git a/.github/workflows/v2.yml b/.github/workflows/v2.yml index 3d403cf..69409dc 100644 --- a/.github/workflows/v2.yml +++ b/.github/workflows/v2.yml @@ -13,6 +13,6 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Data validator - uses: datagov-cz/data-validator/github@main + uses: datagov-cz/data-validator/github@v2 with: configuration: file://./.github/workflows/validate-syntax.ttl diff --git a/.github/workflows/validate-syntax.ttl b/.github/workflows/validate-syntax.ttl index 2ace815..124dc2a 100644 --- a/.github/workflows/validate-syntax.ttl +++ b/.github/workflows/validate-syntax.ttl @@ -5,27 +5,25 @@ @prefix sh: . @prefix xsd: . -# Configuration for syntax validation. - a ; - [ - ".*.jsonld" ; - - [ a ; ] + a ; + [ + ".*.jsonld" ; + + [ a ; ] ], [ - ".*.json", ".*.jsonld" ; - - [ a ; ] + ".*.json", ".*.jsonld" ; + + [ a ; ] ], [ - ".*.ttl", ".*.trig", ".*.nq", ".*.nt", ".*.rdf" ; - - [ a ; ], - [ a ; ] + ".*.ttl", ".*.trig", ".*.nq", ".*.nt", ".*.rdf" ; + + [ a ; ] + , [ a ; ] ], [ - ".*.xml" ; - - [ a ; ] - ] ; - true ; - # Can be changed from the command line. - "./" ; -. + ".*.xml" ; + + [ a ; ] + ] ; + true ; + "./" ; +. \ No newline at end of file