Skip to content

README fixes

README fixes #77

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
style:
name: Style
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
- name: Install composer dependencies
uses: ramsey/composer-install@v2
- name: Check coding style
run: vendor/bin/php-cs-fixer fix --dry-run
type:
name: Type
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
- name: Install composer dependencies
uses: ramsey/composer-install@v2
- name: Check code typing
run: vendor/bin/phpstan
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dependency-versions:
- "lowest"
- "highest"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: ${{ matrix.dependency-versions }}
- name: Run tests
run: vendor/bin/phpunit tests