name: "CI-Build"
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
max-parallel: 3
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4']
steps:
- uses: actions/checkout@master
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
extensions: xdebug
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Execute unit tests, coding style check and static code analysis
run: composer check-all
|