Skip to content

feat(ci): migrate php checks , docs, and php unit tests from Drone to GitHub Actions #3

feat(ci): migrate php checks , docs, and php unit tests from Drone to GitHub Actions

feat(ci): migrate php checks , docs, and php unit tests from Drone to GitHub Actions #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
checks:
name: PHP checks (PHP ${{ matrix.php-version}} )
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-version : ['8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
- run: composer install
- name: codeStyle-${{ matrix.php-version }}
run: make test-php-style
- name: phpStan-${{ matrix.php-version }}
run: make test-php-phpstan
- name: phpPhan-${{ matrix.php-version }}
run: make test-php-phan