Skip to content

Only log event.duration if startTime is defined #64

Only log event.duration if startTime is defined

Only log event.duration if startTime is defined #64

---
name: lint
on:
push:
tags-ignore:
- '**'
branches:
- master
pull_request: {}
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: [8.2, 8.3]
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- run: composer install
- run: ./vendor/bin/phpunit
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- run: composer install
- run: ./vendor/bin/php-cs-fixer fix --dry-run