Skip to content

build: bump nyholm/psr7 from 1.8.1 to 1.8.2 (#81) #137

build: bump nyholm/psr7 from 1.8.1 to 1.8.2 (#81)

build: bump nyholm/psr7 from 1.8.1 to 1.8.2 (#81) #137

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