Draft Add HookConvert #1199
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: phpstan | |
# This test will run on every pull request, and on every commit on any branch | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
# Run tests every week (to check for rector changes) | |
- cron: '0 0 * * 0' | |
jobs: | |
run_static_analysis_phpstan_analyze: | |
name: Static analysis with PHPStan | |
# START: SHARED SETUP | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
coverage: none # disable xdebug, pcov | |
tools: composer:v2 | |
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv | |
# Uncomment to enable SSH access to Github Actions - https://github.com/marketplace/actions/debugging-with-tmate#getting-started | |
# - name: Debugging with tmate | |
# uses: mxschmitt/action-tmate@v2 | |
# END: SHARED SETUP | |
- run: composer install | |
- run: composer phpstan |