Skip to content

feature: update github qa pipeline #86

feature: update github qa pipeline

feature: update github qa pipeline #86

Workflow file for this run

name: "QA Action"
on:
push:
branches:
- "master"
- "develop"
jobs:
testing:
name: "Run PHP-CS-Fixer, PHPStan and PHPUnit"
runs-on: ubuntu-22.04
steps:
- name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
tools: composer:v2
ini-values: "memory_limit=-1"
env:
fail-fast: true
- name: "Checkout Project"
uses: actions/checkout@v3
- name: "Install Dependencies"
run: composer install
- name: "Run PHP-CS-Fixer"
run: php vendor/bin/php-cs-fixer fix --diff --verbose --dry-run
- name: "Run PHPStan"
run: php vendor/bin/phpstan analyse
- name: "Run PHPUnit"
run: php vendor/bin/phpunit