fix: declare an arm with no priced runs instead of printing NaN #275
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 hook smoke tests | |
| run: node --test hooks/dispatch-counter.test.mjs hooks/update-check.test.mjs | |
| - name: Validate JSON manifests | |
| run: | | |
| jq empty .claude-plugin/plugin.json | |
| jq empty .claude-plugin/marketplace.json | |
| jq empty hooks/hooks.json | |
| - name: Validate agent frontmatter | |
| run: | | |
| for f in agents/*.md; do | |
| for key in name description model effort; do | |
| grep -q "^$key:" "$f" || { echo "$f missing '$key'"; exit 1; } | |
| done | |
| done | |
| - name: Validate skill frontmatter | |
| run: | | |
| for f in skills/*/SKILL.md; do | |
| for key in name description; do | |
| grep -q "^$key:" "$f" || { echo "$f missing '$key'"; exit 1; } | |
| done | |
| done |