-
Notifications
You must be signed in to change notification settings - Fork 18
23 lines (23 loc) · 1.04 KB
/
Copy pathvalidate.yml
File metadata and controls
23 lines (23 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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" } }