Fixing PR checks #186
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: Static Analysis | |
on: ['push', 'pull_request'] | |
jobs: | |
static: | |
name: Static Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dependency-version: [prefer-lowest, prefer-stable] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
tools: composer:v2 | |
coverage: none | |
- name: Modify composer.json | |
run: > | |
jq '. += {"replace":{(.name): "*"}} | .name = (.name + "-dev")' composer.json.tmp | |
&& mv composer.json.tmp composer.json | |
- name: Install Dependencies | |
run: composer update --prefer-stable --no-interaction --no-progress --ansi | |
- name: Refacto | |
run: composer test:refacto | |
- name: Types | |
run: composer test:types | |
- name: Style | |
run: composer test:lint |