diff --git a/.github/workflows/test-build-deploy.yml b/.github/workflows/test-build-deploy.yml index 75d2ea7bd9..03c69c5c22 100644 --- a/.github/workflows/test-build-deploy.yml +++ b/.github/workflows/test-build-deploy.yml @@ -82,7 +82,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -201,7 +201,7 @@ jobs: - name: Check if Go build cache exists id: check-cache if: github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true' - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /home/runner/.cache/go-build key: go-build-cache-integration-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -221,7 +221,7 @@ jobs: - name: Print Go build cache size if: steps.check-cache.outputs.cache-hit != 'true' && (github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true') run: du -sh /home/runner/.cache/go-build - - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + - uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5 if: steps.check-cache.outputs.cache-hit != 'true' && (github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true') with: path: /home/runner/.cache/go-build @@ -243,7 +243,7 @@ jobs: - name: Check if Go build cache exists id: check-cache if: github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true' - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-unit-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -261,7 +261,7 @@ jobs: - name: Print Go build cache size if: steps.check-cache.outputs.cache-hit != 'true' && (github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true') run: du -sh /go/cache - - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + - uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5 if: steps.check-cache.outputs.cache-hit != 'true' && (github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true') with: path: /go/cache @@ -283,7 +283,7 @@ jobs: - name: Check if Go build cache exists id: check-cache if: github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true' - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -301,7 +301,7 @@ jobs: - name: Print Go build cache size if: steps.check-cache.outputs.cache-hit != 'true' && (github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true') run: du -sh /go/cache - - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + - uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5 if: steps.check-cache.outputs.cache-hit != 'true' && (github.ref == 'refs/heads/main' || env.FORCE_BUILD_CACHE_WARMUP == 'true') with: path: /go/cache @@ -335,7 +335,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-unit-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -429,7 +429,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -455,7 +455,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -481,7 +481,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -507,7 +507,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -533,7 +533,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -563,7 +563,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-image-and-lint-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -649,7 +649,7 @@ jobs: persist-credentials: false # Race-enabled image uses CGO_ENABLED=1 -race -tags=netgo,stringlabels, same as unit tests. - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /go/cache key: go-build-cache-unit-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }} @@ -704,7 +704,7 @@ jobs: with: persist-credentials: false - name: Restore Go build cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: /home/runner/.cache/go-build key: go-build-cache-integration-${{ needs.prepare.outputs.build_image }}-${{ hashFiles('go.sum') }}