Add go clean in Dockerfile and action. (#6896)

Signed-off-by: Xun Jiang <jxun@vmware.com>
This commit is contained in:
Xun Jiang/Bruce Jiang
2023-09-28 10:20:48 -04:00
committed by GitHub
parent 2cd15f1e4b
commit 83f892d81f
2 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -48,7 +48,10 @@ jobs:
version: latest
- name: Build
run: make local
run: |
make local
# Clean go cache to ease the build environment storage pressure.
go clean -modcache -cache
- name: Test
run: make test