Add date filter and add link to log entries for seeing surrounding logs #1569
Workflow file for this run
This file contains hidden or 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: "PHPStan" | |
| on: | |
| - push | |
| - pull_request | |
| env: | |
| APP_ENV: dev | |
| DATABASE_URL: "mysql://root:root@127.0.0.1:3306/packagist?serverVersion=8.0" | |
| jobs: | |
| tests: | |
| name: "PHPStan" | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0 | |
| with: | |
| coverage: "none" | |
| extensions: "intl, zip, apcu" | |
| php-version: "8.4" | |
| tools: composer | |
| ini-values: apc.enable_cli=1 | |
| - name: "Start MySQL" | |
| run: sudo systemctl start mysql.service | |
| - uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1 | |
| with: | |
| composer-options: "--ansi --no-interaction --no-progress --prefer-dist" | |
| - name: "Setup DB" | |
| run: | | |
| bin/console doctrine:database:create -n | |
| bin/console doctrine:schema:create -n | |
| - name: Run PHPStan | |
| run: composer phpstan |