From 3820d0f341c70832f596b33108e67c1bea10ac7b Mon Sep 17 00:00:00 2001 From: Jan Rosier Date: Sun, 10 Nov 2024 17:53:41 +0100 Subject: [PATCH] Adjust composer cache key hash to account for composer.lock removal --- .github/workflows/lint.yaml | 2 +- .github/workflows/tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d748c5969..4f00e20e4 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -52,7 +52,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} + key: ${{ runner.os }}-composer-${{ hashFiles('composer.*') }} restore-keys: ${{ runner.os }}-composer- - name: "Install dependencies" diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3346852b4..6c52235ee 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -56,7 +56,7 @@ jobs: uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} + key: ${{ runner.os }}-composer-${{ hashFiles('composer.*') }} restore-keys: ${{ runner.os }}-composer- - name: "Install dependencies"