Skip to content

⬆️ Bump phpunit/phpunit from 10.3.5 to 10.4.0 #235

⬆️ Bump phpunit/phpunit from 10.3.5 to 10.4.0

⬆️ Bump phpunit/phpunit from 10.3.5 to 10.4.0 #235

name: continuous integration
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
continuous-integration:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: composer, infection
coverage: pcov
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- run: composer install
- run: composer lint
- run: composer phpstan
- run: composer test
- run: infection --min-msi=95 --min-covered-msi=95