Skip to content

⬆️ Bump squizlabs/php_codesniffer from 3.9.1 to 3.9.2 #401

⬆️ Bump squizlabs/php_codesniffer from 3.9.1 to 3.9.2

⬆️ Bump squizlabs/php_codesniffer from 3.9.1 to 3.9.2 #401

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