Skip to content

Capture the request data to the response to enable logging and troubleshooting #117

Capture the request data to the response to enable logging and troubleshooting

Capture the request data to the response to enable logging and troubleshooting #117

Workflow file for this run

---
name: Tests and Code Analysis
on: # yamllint disable-line rule:truthy
# Trigger the workflow on pushes to the main branch and all pull requests.
push:
branches:
- "**.x"
pull_request:
jobs:
php-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
php: [8.1, 8.2]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
- name: PHP coding standards
run: composer phpcs
- name: PHP static analysis
run: composer phpstan
- name: PHP rector
run: composer rector
- name: PHP unit tests
run: composer phpunit
yaml-lint:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: YAML lint
uses: ibiqlik/[email protected]
with:
config_file: .yamllint.yml