Skip to content

Commit 78785b5

Browse files
committed
Add proper go modules caching to v2 and v3
1 parent a076056 commit 78785b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci-v2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
with:
2323
go-version: "1.20"
2424
id: go
25+
cache-dependency-path: v2
2526

2627
- name: checkout
2728
uses: actions/checkout@v4

.github/workflows/ci-v3.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
with:
2323
go-version: "1.20"
2424
id: go
25+
cache-dependency-path: v3
2526

2627
- name: checkout
2728
uses: actions/checkout@v4

0 commit comments

Comments
 (0)