Merge branch 'main' into dev #14
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: ✅ PHP CI (PHPStan + PHPUnit) | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| tests: | |
| name: Run Static Analysis and Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| extensions: mbstring, xml, pdo, curl | |
| tools: phpstan, phpunit | |
| - name: Install Dependencies | |
| run: composer install --no-progress --prefer-dist | |
| - name: Run PHPStan | |
| run: composer test:type | |
| - name: Run PHPUnit | |
| run: composer test:unit |