[RELEASE] Release of version 3.2.1 #178
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: Code Quality Checks | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
env: | |
- { php: 7.4, coverage: 1} | |
- { php: 8.0, coverage: 0} | |
- { php: 8.1, coverage: 0} | |
env: ${{ matrix.env }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up PHP Version | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.env.php }} | |
tools: composer:v2 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache | |
key: dependencies-composer-${{ hashFiles('composer.json') }} | |
- name: Install composer dependencies | |
run: | | |
composer install --no-progress | |
- name: Validate PHP coding guidelines | |
run: | | |
.Build/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no | |
- name: Run phpstan checks | |
run: | | |
.Build/bin/phpstan |