Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/test-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand All @@ -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
Expand All @@ -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') }}
Expand All @@ -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
Expand All @@ -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') }}
Expand All @@ -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
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand All @@ -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') }}
Expand All @@ -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') }}
Expand All @@ -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') }}
Expand All @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down
Loading