Skip to content

Fix ci

Fix ci #2

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: ${{ matrix.actions.name }}
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
php-version: ['8.2', '8.3', '8.4', '8.5']
actions:
- name: 'PHPStan'
run: vendor/bin/phpstan
- name: 'Tests'
run: vendor/bin/phpunit
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- uses: ramsey/composer-install@v2
- run: ${{ matrix.actions.run }}