Skip to content

chore: lower minimum PHP to 8.2 #14

chore: lower minimum PHP to 8.2

chore: lower minimum PHP to 8.2 #14

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: [ '8.2', '8.3' ]
steps:
- uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
coverage: none
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: PHP lint
run: |
find . -path ./vendor -prune -o -name '*.php' -print0 \
| xargs -0 -n1 -P4 php -l
- name: PHPCS
run: composer lint
- name: PHPUnit
run: composer test