Skip to content

feat: add PHP 8.4 support #93

feat: add PHP 8.4 support

feat: add PHP 8.4 support #93

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2
coverage: none
- name: Install PHP dependencies
run: composer install --no-interaction --no-progress
- name: Run linters
run: composer lint
tests:
needs:
- Lint
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4' ]
name: Tests on PHP ${{ matrix.php }}
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: xdebug
- name: Install PHP dependencies
run: composer install --no-interaction --no-progress
- name: Run tests
run: composer tests
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true