|
32 | 32 |
|
33 | 33 | steps: |
34 | 34 | - name: "Checkout code" |
35 | | - uses: "actions/checkout@v2" |
| 35 | + uses: "actions/checkout@v4" |
36 | 36 |
|
37 | 37 | - name: "Install PHP" |
38 | 38 | uses: "shivammathur/setup-php@v2" |
|
41 | 41 | php-version: "${{ matrix.php-version }}" |
42 | 42 | tools: "cs2pr" |
43 | 43 |
|
44 | | - - name: "Install dependencies with Composer" |
45 | | - uses: "ramsey/composer-install@v1" |
| 44 | + - name: Install dependencies |
| 45 | + uses: nick-fields/retry@v2 |
| 46 | + with: |
| 47 | + timeout_minutes: 5 |
| 48 | + max_attempts: 5 |
| 49 | + command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress |
46 | 50 |
|
47 | | - - name: "Run a static analysis with phpstan/phpstan" |
48 | | - run: "vendor/bin/phpstan --error-format=checkstyle | cs2pr" |
| 51 | + - name: Execute type checking |
| 52 | + run: vendor/bin/phpstan --configuration="phpstan.neon.dist" |
0 commit comments