Add cache for vendor
Cette révision appartient à :
Parent
bac07a17e8
révision
0397d70070
9
.github/workflows/php.yml
externe
9
.github/workflows/php.yml
externe
@ -13,6 +13,15 @@ jobs:
|
||||
- name: Validate composer.json and composer.lock
|
||||
run: composer validate
|
||||
|
||||
- name: Cache vendor
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.OS }}-build-${{ env.cache-name }}-
|
||||
${{ runner.OS }}-build-
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install --prefer-dist --no-progress --no-suggest
|
||||
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user