Harden plugin release checks and CI

This commit is contained in:
Violin
2026-07-13 08:53:57 +01:00
parent e7d76785dd
commit a9130fe02c
15 changed files with 62 additions and 34 deletions
+8 -7
View File
@@ -1,9 +1,9 @@
name: guard-check
on:
push:
branches: [master]
branches: [master, dev]
pull_request:
branches: [master]
branches: [master, dev]
jobs:
guard-check:
runs-on: ubuntu-latest
@@ -12,13 +12,14 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: pip install pyyaml
- uses: astral-sh/setup-uv@v6
- name: Install development dependencies
run: uv sync --dev
- name: Run guard release check
run: python scripts/violin_guard.py check-release
run: uv run python scripts/violin_guard.py check-release
- name: Validate YAML
run: |
python -c "
uv run python -c "
import yaml
for f in ['distribution.yaml', 'config.yaml', 'skills/pentest/templates/scope-template.yaml']:
yaml.safe_load(open(f))
@@ -34,4 +35,4 @@ jobs:
for stale in PLAN.md skills/pentest/scripts/recon-scan.sh; do
if [ -f "$stale" ]; then echo "Stale: $stale"; exit 1; fi
done
echo "No stale artifacts found"
echo "No stale artifacts found"