Bump slevomat/coding-standard from 8.28.0 to 8.29.0 #450
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 | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-version: [ '8.2', '8.3', '8.4', '8.5' ] | |
| pg-version: [ '17' ] | |
| services: | |
| postgres: | |
| image: postgres:${{ matrix.pg-version }} | |
| env: | |
| POSTGRES_PASSWORD: postgres | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| ports: | |
| - 5432:5432 | |
| name: PHP ${{ matrix.php-version }} | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| node-version: '22' | |
| - uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: intl, pdo_pgsql, xdebug, zip | |
| coverage: xdebug | |
| ini-values: xdebug.mode=coverage,error_reporting=E_ALL,display_errors=On | |
| - run: composer validate --strict | |
| - run: composer install --prefer-dist --no-progress | |
| - run: composer run-script dev:lint:php | |
| - run: composer run-script dev:lint:phpcs | |
| - run: composer run-script dev:analyze:phpstan-${{ matrix.php-version }} | |
| - run: composer run-script dev:test:unit | |
| env: | |
| PHPPGADMIN_TEST_SERVER_HOSTNAME: localhost | |
| PHPPGADMIN_TEST_SERVER_PASSWORD: ${{ vars.PHPPGADMIN_TEST_SERVER_PASSWORD }} |