Fix deprecation when setting dynamic properties on object crate #8
Workflow file for this run
This file contains 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: | |
push: | |
pull_request: | |
jobs: | |
phpunit: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- php: '7.4' | |
phpunit: '8.5' | |
- php: '8.0' | |
phpunit: '8.5' | |
- php: '8.1' | |
phpunit: '8.5' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: 'composer:v2' | |
- name: Cache Composer dependencies | |
uses: actions/cache@v2 | |
with: | |
path: '~/.composer/cache' | |
key: ${{ runner.os }}-php${{ matrix.php }}-phpunit${{ matrix.phpunit }}-symfony${{ matrix.symfony }}-${{ hashFiles('**/composer.json') }} | |
- name: Install dependencies with composer | |
env: | |
SYMFONY_REQUIRE: ${{ matrix.symfony }} | |
run: composer update --no-interaction --no-progress | |
- name: Run test suite | |
uses: php-actions/phpunit@v3 | |
with: | |
php_version: ${{ matrix.php }} | |
version: ${{ matrix.phpunit }} |