Skip to content

⬆️ Bump shivammathur/setup-php from 2.30.4 to 2.30.5 #430

⬆️ Bump shivammathur/setup-php from 2.30.4 to 2.30.5

⬆️ Bump shivammathur/setup-php from 2.30.4 to 2.30.5 #430

name: continuous integration
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
continuous-integration:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: Setup PHP
uses: shivammathur/setup-php@fc14643b0a99ee9db10a3c025a33d76544fa3761
with:
php-version: '8.3'
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@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
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