Skip to content

Commit f51df67

Browse files
committed
fix github action cache error
1 parent e04e2d7 commit f51df67

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/e2e.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ jobs:
2727
- name: Check out code into the Go module directory
2828
uses: actions/checkout@v4
2929

30-
- name: Cache local Maven repository
30+
- name: Cache go dependency
3131
uses: actions/cache@v4
3232
with:
33-
path: ~/.m2/repository
34-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
33+
path: |
34+
~/.cache/go-build
35+
~/go/pkg/mod
36+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
3537
restore-keys: |
36-
${{ runner.os }}-maven-
38+
${{ runner.os }}-go-
3739
3840
- name: Integration test
3941
run: |

0 commit comments

Comments
 (0)