Configure Cloud logging during autoload #102
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: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 5.x | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| name: PHP ${{ matrix.php }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: ['8.5'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: bcmath, curl, dom, intl, mbstring, pdo, zip | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Validate Composer configuration | |
| run: composer validate --strict | |
| - name: Install dependencies | |
| uses: ramsey/composer-install@v3 | |
| - name: Run linter | |
| run: composer lint | |
| - name: Run tests | |
| run: composer test |