mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36:13 +01:00

[TASK] Cache Composer dependencies during build (#36)

Also fix the name of TS the lint step.
This commit is contained in:
Andreas Wolf 2019-12-07 18:10:52 +01:00 committed by Oliver Klee
parent a9f64159ec
commit cef4baddbc
2 changed files with 18 additions and 1 deletions

View file

@ -33,10 +33,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
- name: "Cache dependencies installed with composer"
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
php${{ matrix.php-version }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress
- name: Run PHP lint
- name: Run TypoScript lint
run: composer ci:ts:lint
php-code-sniffer:
@ -48,6 +56,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
- name: "Cache dependencies installed with composer"
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
php${{ matrix.php-version }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z
### Added
- Cache Composer dependencies in build (#31)
- Add a status badge for GitHub actions (#32)
- Composer script for PHP code sniffer fixing (#21)
- Run the functional tests in parallel