v4.0 — Self-contained SKILL.md, morph validator, ReadSightPy, scenari… #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate | |
| on: [push, pull_request] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run PowerShell validator | |
| shell: pwsh | |
| run: pwsh scripts/validate.ps1 -Verbose | |
| - name: Run Bash validator | |
| run: bash scripts/validate.sh --verbose | |
| - name: Check SKILL.md self-containment | |
| shell: pwsh | |
| run: | | |
| $content = Get-Content SKILL.md -Raw | |
| if ($content -match "raw.githubusercontent.com") { Write-Host "PASS: GitHub raw URLs present" } else { Write-Host "WARN: Missing GitHub raw URLs" } | |
| if ($content -match "Top burned words") { Write-Host "PASS: Embedded burned words" } else { Write-Host "WARN: Missing embedded burned words" } | |
| - name: List new scripts | |
| shell: pwsh | |
| run: | | |
| $scripts = @("morph-check.ps1","readability-check.ps1","run-eval.ps1","clause-check.ps1","run-benchmark.sh") | |
| foreach ($s in $scripts) { if (Test-Path "scripts/$s") { Write-Host "OK: $s" } else { Write-Host "MISSING: $s" } } |