Skip to content

various improvements to definitions #3

various improvements to definitions

various improvements to definitions #3

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