Bump actions/checkout from 3 to 4 #30
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: CI | |
permissions: | |
contents: read | |
on: [push] | |
jobs: | |
php: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['7.4', '8.0', '8.1'] | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: composer install --no-interaction --no-progress | |
- name: Run tests | |
run: php vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning | |
- name: Run phpstan | |
run: php vendor/bin/phpstan | |
- name: Run psalm | |
run: php vendor/bin/psalm |