Skip to content

feat: php sdk

feat: php sdk #2

Workflow file for this run

name: CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1, 8.2, 8.3]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
coverage: xdebug
- name: Install dependencies
run: composer install
- name: Run PHPStan
run: composer phpstan
- name: Run CodeSniffer
run: composer cs
- name: Validate composer.json
run: composer validate
- name: Check for security vulnerabilities
run: composer audit --format=json --no-interaction || true