From a9bf51fc52f040d9e3b4ce73a2a1194fdcfbfcb0 Mon Sep 17 00:00:00 2001 From: Paul Millar Date: Thu, 18 Jun 2026 11:02:33 +0200 Subject: [PATCH] Add a build phase that validates generated PaNET with LintedData Motivation: Use available tools to check for common problems with PaNET. Modification: Add build step that runs the LintedData image on the generated output. Result: Better Q/A process for PaNET output. --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2929cf2..b03ca4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,6 +59,24 @@ jobs: path: site/ retention-days: 7 + validate-panet: + needs: build-panet + runs-on: ubuntu-latest + container: dlrdw/linteddata:3.0.0 + steps: + - name: Download freshly built PaNET + uses: actions/download-artifact@v4 + with: + name: PaNET + + - name: Check with LintedData + run: LintedData source/PaNET_reasoned.owl --markdown linted-data.md --junit linted-data.xml + + - name: Add LintedData results to job summary + if: ${{ !cancelled() }} + run: head -q -c1024k linted-data.md >> $GITHUB_STEP_SUMMARY + + build-webpage: runs-on: ubuntu-latest needs: build-panet