Skip to content

remove slevomat/consistence dependency #78

remove slevomat/consistence dependency

remove slevomat/consistence dependency #78

Workflow file for this run

name: "Build - CI"
on:
push:
branches:
- "master"
jobs:
coding-standards-php-8:
name: "[BACKEND] - Coding standards (PHP-8)"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.0"
- name: "Cache dependencies"
uses: "actions/cache@v2"
with:
path: "~/.composer/cache"
key: "php-8.0-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.0-composer-"
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"
- name: "PHP - Coding Standard"
run: "vendor/bin/phing phpcs"
static-analysis-php-8:
name: "[BACKEND] - Static analysis (PHP-8)"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.0"
- name: "Cache dependencies"
uses: "actions/cache@v2"
with:
path: "~/.composer/cache"
key: "php-8.0-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.0-composer-"
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"
- name: "PHPStan"
run: "vendor/bin/phing phpstan"
tests-php-8:
name: "[BACKEND] - Tests (PHP-8)"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.0"
- name: "Cache dependencies"
uses: "actions/cache@v2"
with:
path: "~/.composer/cache"
key: "php-8.0-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.0-composer-"
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"
- name: "PHPUnit"
run: "vendor/bin/paratest tests"