add download cache for tests

This commit is contained in:
crazywhalecc 2024-01-07 00:53:03 +08:00 committed by Jerry Ma
parent daf0d2eb32
commit 5549068275

View File

@ -133,6 +133,13 @@ jobs:
restore-keys: |
${{ runner.os }}-php-
# Cache downloaded source
- id: cache-download
uses: actions/cache@v3
with:
path: downloads
key: php-${{ matrix.php }}-dependencies
- name: "Install Dependencies"
run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist