fix(meta): bump @version to 2.0.0 in all src docblocks, clean README #4
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: CI | |
| # ARFA 1.3 / KaririCode Spec V4.0 — Unified CI Pipeline | |
| # Runs on every push and PR targeting main or develop. | |
| # Full pipeline: cs-fixer → phpstan (L9) → psalm → phpunit (pcov) | |
| # Zero tolerance: any tool failure blocks the merge. | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| workflow_dispatch: | |
| jobs: | |
| quality: | |
| name: Quality Pipeline (ARFA 1.3) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # PHP 8.4 + pcov (mandatory driver per ARFA 1.3 §Testing) | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.4' | |
| extensions: mbstring, xml | |
| coverage: pcov | |
| # Pure dependency install — no scripts to avoid environment pollution | |
| - name: Install dependencies | |
| run: composer install --no-interaction --prefer-dist --no-progress --no-scripts | |
| # Bootstrap kcode.phar from the official KaririCode release | |
| - name: Install kcode (KaririCode Devkit) | |
| run: | | |
| wget -q https://github.com/KaririCode-Framework/kariricode-devkit/releases/latest/download/kcode.phar | |
| chmod +x kcode.phar | |
| sudo mv kcode.phar /usr/local/bin/kcode | |
| # Generate .kcode/ configs: phpunit.xml.dist, phpstan.neon, psalm.xml, etc. | |
| - name: Initialize devkit (.kcode/ generation) | |
| run: kcode init | |
| # cs-fixer → phpstan (L9) → psalm → phpunit | |
| # Exit code ≠ 0 fails the job (zero-tolerance policy) | |
| - name: Run full quality pipeline | |
| run: kcode quality |