allow nette/utils 4 #276
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: Code Checks | |
on: | |
pull_request: null | |
push: | |
branches: | |
- master | |
jobs: | |
code_checks: | |
strategy: | |
matrix: | |
actions: | |
- | |
name: 'PHPStan' | |
run: composer phpstan | |
- | |
name: 'Coding Standard' | |
run: composer check-cs | |
- | |
name: 'Rector' | |
run: vendor/bin/rector process --dry-run --ansi | |
- | |
name: 'Commented PHP Code' | |
run: vendor/bin/easy-ci check-commented-code src tests --line-limit 3 | |
name: ${{ matrix.actions.name }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shivammathur/setup-php@v1 | |
with: | |
php-version: 8.0 | |
extensions: pdo_sqlite, pdo_mysql, pdo_pgsql | |
coverage: none | |
- run: composer install --no-progress | |
- run: ${{ matrix.actions.run }} |