Allow to use a Hub argument aliases for a builtin Hub #154
Workflow file for this run
This file contains hidden or 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: "static analysis" | |
| on: ["pull_request", "push"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-tests: | |
| name: "static analysis" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "checkout" | |
| uses: "actions/checkout@v5" | |
| with: | |
| persist-credentials: false | |
| - name: "installing PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| php-version: "8.5" | |
| ini-values: memory_limit=-1 | |
| tools: composer:v2, phpstan, cs2pr | |
| - name: "installing dependencies" | |
| run: "COMPOSER_ROOT_VERSION=dev-main composer update --no-interaction --no-progress" | |
| env: | |
| COMPOSER_ROOT_VERSION: 'dev-main' | |
| - name: "installing PHPUnit" | |
| run: "php vendor/bin/simple-phpunit install" | |
| - name: "running static analysis (PHPStan)" | |
| run: "phpstan analyse" |