Skip to content

Add basic github action to run the SPARQL checks #1

Add basic github action to run the SPARQL checks

Add basic github action to run the SPARQL checks #1

Workflow file for this run

name: Check SPARQL queries
on: [push, pull_request, workflow_call, workflow_dispatch]
jobs:
check:
name: Run SPARQL checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Install and run checks
run: |
sudo apt-get install -y libraptor2-0 raptor2-utils
export JENA_VERSION=5.0.0
curl -LO https://dlcdn.apache.org/jena/binaries/apache-jena-$JENA_VERSION.zip
unzip apache-jena-$JENA_VERSION.zip
mv apache-jena-$JENA_VERSION ../
rm apache-jena-$JENA_VERSION.zip
export JENA_HOME=$PWD/../apache-jena-$JENA_VERSION
export PATH=$JENA_HOME/bin:$PATH
./check.sh