Skip to content

Add Webhook oAuth properties #1095

Add Webhook oAuth properties

Add Webhook oAuth properties #1095

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2, 8.3]
dependency-version: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} (${{ matrix.dependency-version }})
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, zip
tools: cs2pr
coverage: pcov
- name: Composer Dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
- name: CodeSniffer
run: vendor/bin/phpcs --report=checkstyle | cs2pr
- name: PHPStan
run: vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr
- name: PHPUnit
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}