Merge pull request #1 from mralaminahamed/chore/working-toolchain-and… #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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # 8.0 is this package's floor, not 7.4: the generated stubs use constructor property | |
| # promotion, which 7.4 cannot parse. composer.json said >=7.4 and was wrong. | |
| php: ['8.0', '8.3'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| - uses: ramsey/composer-install@v3 | |
| - run: composer cs | |
| - run: composer analyze | |
| - run: composer test |