Skip to content

⬆️ Bump phpstan/phpstan from 1.10.41 to 1.10.44 #259

⬆️ Bump phpstan/phpstan from 1.10.41 to 1.10.44

⬆️ Bump phpstan/phpstan from 1.10.41 to 1.10.44 #259

name: continuous integration
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
continuous-integration:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup PHP
uses: shivammathur/setup-php@a36e1e52ff4a1c9e9c9be31551ee4712a6cb6bd0
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@704facf57e6136b1bc63b828d79edcd491f0ee84
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