mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-23 01:16:13 +01:00
[TASK] Migrate PHP CS Fixer check to GitHub Actions (#223)
This commit is contained in:
parent
9c36f05e3e
commit
37d919831d
1 changed files with 9 additions and 1 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -45,6 +45,15 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: "Run YAML lint"
|
- name: "Run YAML lint"
|
||||||
uses: TYPO3-Continuous-Integration/TYPO3-CI-YAML-Lint@v1
|
uses: TYPO3-Continuous-Integration/TYPO3-CI-YAML-Lint@v1
|
||||||
|
php-cs-fixer:
|
||||||
|
name: "PHP CS Fixer"
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
needs: php-lint
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: "Run PHP CS Fixer"
|
||||||
|
uses: TYPO3-Continuous-Integration/TYPO3-CI-PHP-CS-Fixer@v1
|
||||||
copypaste-detector:
|
copypaste-detector:
|
||||||
name: "Copy'n'paste detector"
|
name: "Copy'n'paste detector"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -84,7 +93,6 @@ jobs:
|
||||||
command:
|
command:
|
||||||
- "composer:normalize"
|
- "composer:normalize"
|
||||||
- "json:lint"
|
- "json:lint"
|
||||||
- "php:cs-fixer"
|
|
||||||
- "php:sniff"
|
- "php:sniff"
|
||||||
- "php:stan"
|
- "php:stan"
|
||||||
php-version:
|
php-version:
|
||||||
|
|
Loading…
Reference in a new issue