Bump actions/upload-artifact from 4.3.3 to 4.3.4 #256
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/[email protected] | |
- name: Install PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '7.4' | |
tools: composer:v2 | |
coverage: none | |
- name: Install dependencies | |
uses: nick-fields/[email protected] | |
with: | |
timeout_minutes: 5 | |
max_attempts: 5 | |
command: composer update --no-interaction --no-progress | |
- name: Install PHPStan | |
uses: nick-fields/[email protected] | |
with: | |
timeout_minutes: 5 | |
max_attempts: 5 | |
command: composer bin phpstan update --no-interaction --no-progress | |
- name: Run static analysis | |
run: make phpstan |