Skip to content

bump nick-invision/retry from 2 to 3 #9

bump nick-invision/retry from 2 to 3

bump nick-invision/retry from 2 to 3 #9

name: Static Analysis
on: [ push, pull_request, workflow_dispatch ]
jobs:
static-analysis:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: none
- name: Install PHPStan
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer require phpstan/phpstan=^1.11.x-dev -n -q --no-progress
- name: Run Static Analysis
run: ./vendor/bin/phpstan analyse --no-progress --memory-limit 2G