⬆️ update to rector 2 and phpstan 2 #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: Run GrumPHP tests for packages | |
on: | |
push: | |
branches: "*" | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
test: | |
name: "${{ matrix.package }} php: ${{ matrix.php }}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.2', '8.3', '8.4'] | |
package: ['grumphp-bom-task'] | |
container: | |
image: kanti/buildy:${{ matrix.php }} | |
env: | |
COMPOSER_ROOT_VERSION: dev-main | |
defaults: | |
run: | |
working-directory: ./packages/${{ matrix.package }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git config --global --add safe.directory /__w/grumphp-config/grumphp-config | |
- run: composer install --no-progress --no-scripts -n | |
- run: ./vendor/bin/grumphp run --ansi |