Skip to content

refactor: improivng repository method return type #145

refactor: improivng repository method return type

refactor: improivng repository method return type #145

Workflow file for this run

name: CI Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Tests with PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: [ '8.1', '8.2', '8.3' ]
steps:
- { name: Checkout code, uses: actions/checkout@v4 }
- { name: Install PHP, uses: shivammathur/setup-php@v2, with: { php-version: "${{ matrix.php-versions }}" } }
- { name: OS Version, run: uname -a }
- { name: PHP Version, run: php --version }
- { name: Validate composer, run: composer validate --strict }
- { name: Install dependencies, run: composer install }
- { name: Install tools, run: composer install -d tools/ }
- { name: Run tests, run: tools/vendor/bin/simple-phpunit --debug }
- { name: Run phpstan, run: tools/vendor/bin/phpstan }