V4 background jobs cache #1005
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: phpstan-evaluate-pr | |
on: | |
pull_request: {} | |
jobs: | |
evaluate-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: php-actions/composer@v6 | |
with: | |
php_version: "8.1" | |
php_extensions: zip intl gd | |
- uses: php-actions/composer@v6 | |
with: | |
php_version: "8.1" | |
php_extensions: zip intl gd | |
command: require yiisoft/yii2-redis predis/predis simplesamlphp/simplesamlphp | |
- name: Download artifact | |
uses: dawidd6/action-download-artifact@v6 | |
with: | |
workflow: .github/workflows/phpstan-generate-baseline.yml | |
workflow_conclusion: success | |
commit: ${{github.event.pull_request.base.sha}} | |
name: phpstan-baseline.neon | |
- name: phpstan | |
run: | | |
php vendor/bin/phpstan analyse --configuration=phpstan.use-baseline.neon --error-format=github |