Only debug log the HTML of failed API requests #2581
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run PHPStan | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
jobs: | |
phpstan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup composer dependencies | |
run: .github/jobs/composer_setup.sh | |
- name: Show the phpstan version | |
run: webapp/vendor/phpstan/phpstan/phpstan --version | |
- uses: php-actions/[email protected] | |
with: | |
configuration: webapp/phpstan.dist.neon | |
path: webapp/src webapp/tests | |
php_extensions: gd intl mysqli pcntl zip | |
autoload_file: webapp/vendor/autoload.php | |
version: composer | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
path: /tmp/artifacts |