mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 03:36:12 +02:00

[TASK] add composer update and caching to lint job

Resolves: #1139
This commit is contained in:
Eike Starkmann 2024-07-30 12:54:15 +02:00
parent 793dd44a26
commit 3b89713286

View file

@ -25,6 +25,14 @@ jobs:
ini-file: development
coverage: none
tools: composer:v2
- name: "Cache dependencies installed with composer"
uses: actions/cache@v4
with:
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
path: ~/.cache/composer
restore-keys: "php${{ matrix.php-version }}-composer-\n"
- name: "Install Composer dependencies"
run: "composer update --no-progress"
- name: "Show the Composer configuration"
run: "composer config --global --list"
- name: "Run PHP lint"