update to rector 2.0-rc and bump phpstan dependencies to 2.x #1154
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: phpunit | |
# This test will run on every pull request, and on every commit on any branch | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
# Run tests every week (to check for rector changes) | |
- cron: '0 0 * * 0' | |
jobs: | |
tests: | |
name: 'PHPUnit | PHP ${{ matrix.php-version }}' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- "8.2" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: none | |
tools: composer:v2 | |
- run: composer install | |
- run: composer test |