diff --git a/.github/workflows/test-build-deploy.yml b/.github/workflows/test-build-deploy.yml index 1775a411a5f..7a1a1b028fa 100644 --- a/.github/workflows/test-build-deploy.yml +++ b/.github/workflows/test-build-deploy.yml @@ -221,7 +221,8 @@ jobs: - name: Cache Go build cache uses: actions/cache@v3 with: - key: test-${{ matrix.test_group_id }}-go-build-${{ runner.os }}-${{ hashFiles('go.mod', 'go.sum') }} + # Cache is shared between test groups. + key: test-go-build-${{ runner.os }}-${{ hashFiles('go.mod', 'go.sum') }} path: ${{ steps.gocache.outputs.path }} - name: Run Tests run: | @@ -319,7 +320,8 @@ jobs: - name: Cache Go build cache uses: actions/cache@v3 with: - key: integration-${{ matrix.test_group_id }}-go-build-${{ runner.os }}-${{ hashFiles('go.mod', 'go.sum') }} + # Cache is shared between test groups. + key: integration-go-build-${{ runner.os }}-${{ hashFiles('go.mod', 'go.sum') }} path: ${{ steps.gocache.outputs.path }} - name: Download Archive with Docker Images uses: actions/download-artifact@v4