Add support for CakePHP 5 #16
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: Deadlinks CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
testsuite: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: ['8.1'] | |
name: PHP ${{ matrix.php-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: mbstring | |
coverage: none | |
- name: Composer install | |
run: | | |
composer install | |
- name: Run PHPUnit | |
run: | | |
vendor/bin/phpunit | |
coding-standard: | |
name: Coding Standard | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
extensions: mbstring | |
coverage: none | |
- name: Composer install | |
run: composer install | |
- name: Run PHP CodeSniffer | |
run: composer cs-check | |
static-analysis: | |
name: Static Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
extensions: mbstring | |
coverage: none | |
- name: Composer install | |
run: composer require --dev phpstan/phpstan:^1.9 | |
- name: Run phpstan | |
run: vendor/bin/phpstan.phar analyse |