This is an automated email from the ASF dual-hosted git repository.

lostluck pushed a commit to branch lostluck-cache-go
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 7b6117785abac2c8a4b52db9886ab04fdb93fb5a
Author: Robert Burke <lostl...@users.noreply.github.com>
AuthorDate: Wed Oct 11 16:55:20 2023 -0700

    Update go_tests.yml to cache
    
    Configure caching go deps properly in Go Tests action.
---
 .github/workflows/go_tests.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/go_tests.yml b/.github/workflows/go_tests.yml
index 6884dd69252..66c57d219a8 100644
--- a/.github/workflows/go_tests.yml
+++ b/.github/workflows/go_tests.yml
@@ -46,6 +46,8 @@ jobs:
       - uses: actions/setup-go@v4
         with:
           go-version: '1.21'
+          cache-dependency-path: |
+             sdks/go.sum
       - name: Delete old coverage
         run: "cd sdks && rm -rf .coverage.txt || :"
       - name: Run coverage
@@ -70,4 +72,4 @@ jobs:
         with:
           work-dir: ./sdks
           go-package: ./...
-          go-version-input: 1.21
\ No newline at end of file
+          go-version-input: 1.21

Reply via email to