Merge pull request #1 from TomasVotruba/tv-bump #19
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: Code Analysis | |
on: | |
push: null | |
pull_request: null | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
- name: Validate composer | |
run: composer validate | |
- name: Install dependencies | |
run: composer install | |
- name: Run static type analysis | |
run: vendor/bin/phpstan | |
- name: Run test suite | |
run: vendor/bin/phpunit |