Merge pull request #371 from rogermt/v0.16.6 #264
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: Governance CI Gate | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| push: | |
| branches: [main, master] | |
| jobs: | |
| governance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install server dependencies | |
| run: | | |
| cd server | |
| uv sync | |
| # 1. Pipeline validator (abstract, plugin-agnostic) | |
| - name: Validate pipelines | |
| run: | | |
| cd server | |
| uv run python tools/validate_pipelines.py | |
| # 2. Clone plugin repo for capability matrix | |
| - name: Clone forgesyte-plugins | |
| run: | | |
| cd .. | |
| git clone --depth 1 https://github.com/rogermt/forgesyte-plugins.git forgesyte-plugins | |
| # 3. Generate capability matrix | |
| - name: Generate capability matrix | |
| run: | | |
| cd server | |
| uv run python tools/generate_plugin_capability_matrix.py | |
| # 4. Ensure capability matrix is committed | |
| - name: Check capability matrix is up to date | |
| run: | | |
| git diff --exit-code docs/plugin_capability_matrix_generated.md |