Bump actions/upload-artifact from 4.4.3 to 4.5.0 #343
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: Static analysis | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4.2.2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@2.31.1 | |
with: | |
php-version: '7.4' | |
tools: composer:v2 | |
coverage: none | |
- name: Install dependencies | |
uses: nick-fields/retry@v3.0.0 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 5 | |
command: composer update --no-interaction --no-progress | |
- name: Install PHPStan | |
uses: nick-fields/retry@v3.0.0 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 5 | |
command: composer bin phpstan update --no-interaction --no-progress | |
- name: Run static analysis | |
run: make phpstan |