Run CI on PHP 8.2 and later. #35
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, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-version: | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v4" | |
| - name: "Install PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| coverage: "none" | |
| php-version: "${{ matrix.php-version }}" | |
| - name: use https instead of http | |
| run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/ | |
| - name: composer install | |
| run: composer install --prefer-dist | |
| env: | |
| token: ${{secrets.COMPOSER_AUTH}} | |
| - name: composer test | |
| run: composer test |