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"