Properly run workflows #100
Workflow file for this run
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: PHP Composer | |
on: | |
push: | |
branches: | |
- master | |
- 'releases/**' | |
- 'feature/**' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: [ '8.2', '8.3' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- run: composer install --prefer-dist --no-progress --no-suggest | |
- run: composer validate | |
- run: composer crc | |
- run: composer unuse | |
- run: composer cs-check | |
- run: composer phpstan | |
- run: composer phpunit |