Skip to content

Merge branch 'main' of https://github.com/AIDAVA-DEV/sulo #4

Merge branch 'main' of https://github.com/AIDAVA-DEV/sulo

Merge branch 'main' of https://github.com/AIDAVA-DEV/sulo #4

Workflow file for this run

# .github/workflows/validate.yml
name: Syntax checking
on:
push:
paths:
- '*.ttl'
- '*.rdf'
- '*.owl'
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y raptor2-utils
- name: Validate ontology files
run: |
for file in *.ttl *.rdf *.owl; do
if [[ -f "$file" ]]; then
rapper -i turtle "$file" -o turtle > /dev/null || exit 1
echo "Validated: $file"
fi
done