[8.x] CI: Fix not being able to install dependencies #661
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: | |
phpstan: | |
runs-on: ubuntu-latest | |
name: Static | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
tools: composer | |
coverage: none | |
- name: Set Collision version | |
run: composer config version "8.x-dev" | |
- name: Install Dependencies | |
run: composer update --no-interaction --prefer-dist --no-progress --ansi | |
- name: Run Style Tests | |
run: composer test:lint | |
- name: Run Types Tests | |
run: composer test:types |