Skip to content

Commit

Permalink
Update go_tests.yml to cache (#28954)
Browse files Browse the repository at this point in the history
Configure caching go deps properly in Go Tests action.
  • Loading branch information
lostluck authored Oct 12, 2023
1 parent 9c75db4 commit 6b3b3eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -70,4 +72,4 @@ jobs:
with:
work-dir: ./sdks
go-package: ./...
go-version-input: 1.21
go-version-input: 1.21

0 comments on commit 6b3b3eb

Please sign in to comment.