Skip to content

Fix schématu jazykových dovedností #81

Fix schématu jazykových dovedností

Fix schématu jazykových dovedností #81

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ master ]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get all files
uses: opendata-mvcr/lkod-github-actions/list-files@master
- name: Filter files
uses: opendata-mvcr/lkod-github-actions/filter-files@master
with:
input-file: ./files.json
filter-json: >-
{
"./files-json.json": [ ".*\\.json$" ],
"./files-jsonld.json": [ ".*\\.jsonld$" ]
}
- run: touch ${HOME}/report.json
- name: Validate JSON syntax
uses: opendata-mvcr/lkod-github-actions/validate-json-syntax@master
with:
input-file: ./files-json.json
output-file: ./report.json
- name: Validate JSON-LD JSON syntax
uses: opendata-mvcr/lkod-github-actions/validate-json-syntax@master
with:
input-file: ./files-jsonld.json
output-file: ./report.json
# - name: Validate JSON-LD not empty
# uses: opendata-mvcr/lkod-github-actions/validate-jsonld-not-empty@master
# with:
# input-file: ./files-jsonld.json
# output-file: ./report.json
- name: Push annotations
uses: opendata-mvcr/lkod-github-actions/push-annotations@master
with:
annotations-file: ./report.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}