Skip to content

build: bump phpstan/phpstan from 1.11.7 to 1.12.2 #131

build: bump phpstan/phpstan from 1.11.7 to 1.12.2

build: bump phpstan/phpstan from 1.11.7 to 1.12.2 #131

Workflow file for this run

name: Build & Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# follows https://www.php.net/supported-versions.php
php-versions: ['8.1', '8.2', '8.3']
phpunit-versions: ['latest']
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
# extensions: mbstring, intl
ini-values: post_max_size=256M, max_execution_time=180
coverage: xdebug
tools: php-cs-fixer, phpunit
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: Run test suite
run: composer run-script test
- uses: codecov/codecov-action@v4
if: matrix.php-versions == '8.1'
with:
# Comma-separated list of files to upload
files: ./tmp/code-coverage.xml