From 390cc5d82467bb6a2bb905a9b518d7ae5a3d010e Mon Sep 17 00:00:00 2001 From: sji Date: Wed, 7 Feb 2024 22:16:11 +0900 Subject: [PATCH] Cache docker images in CI for testing --- .github/workflows/phpunit.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 9c028d3e..96b7551c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -34,6 +34,11 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} restore-keys: ${{ runner.os }}-composer- + - name: Cache Docker images + uses: ScribeMD/docker-cache@0.3.7 + with: + key: docker-${{ runner.os }}-${{ hashFiles('Dockerfile-dev','tests/TargetPhpVmProvider.php') }} + - name: Validate composer.json and composer.lock run: composer validate