mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 23:16:13 +01:00
[TASK] Migrate the PHPStan check to GitHub actions (#239)
This commit is contained in:
parent
47dd2a71ca
commit
dd2378416e
1 changed files with 11 additions and 1 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -71,6 +71,17 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "Run PHP CS Fixer"
|
- name: "Run PHP CS Fixer"
|
||||||
uses: TYPO3-Continuous-Integration/TYPO3-CI-PHP-CS-Fixer@v1
|
uses: TYPO3-Continuous-Integration/TYPO3-CI-PHP-CS-Fixer@v1
|
||||||
|
phpstan-check:
|
||||||
|
name: "PHPStan check"
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
needs: php-lint
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: "Run PHPStan"
|
||||||
|
uses: TYPO3-Continuous-Integration/TYPO3-CI-PHPStan@v1
|
||||||
|
with:
|
||||||
|
config_file: './phpstan.neon'
|
||||||
copypaste-detector:
|
copypaste-detector:
|
||||||
name: "Copy'n'paste detector"
|
name: "Copy'n'paste detector"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -110,7 +121,6 @@ jobs:
|
||||||
command:
|
command:
|
||||||
- "composer:normalize"
|
- "composer:normalize"
|
||||||
- "php:sniff"
|
- "php:sniff"
|
||||||
- "php:stan"
|
|
||||||
php-version:
|
php-version:
|
||||||
- 7.4
|
- 7.4
|
||||||
code-quality-frontend:
|
code-quality-frontend:
|
||||||
|
|
Loading…
Reference in a new issue