mirror of
https://github.com/Strategic-Automation/violin.git
synced 2026-08-14 12:33:37 +02:00
Harden plugin release checks and CI
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user