Skip to content

chore: button

chore: button #17

Workflow file for this run

name: static analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
phpstan:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
php-version: [7.4,8.0]
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
coverage: none
- run: composer update --no-interaction --no-progress
- run: composer bin phpstan require phpstan/phpstan
- run: vendor/bin/phpstan analyze --no-progress
psalm:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
php-version: [7.4,8.0]
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
coverage: none
- run: composer update --no-interaction --no-progress
- run: composer bin psalm require vimeo/psalm
- run: vendor/bin/psalm --no-progress --shepherd --output-format=github