File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 24
24
echo "cache=$(go env GOCACHE)" >> $GITHUB_ENV
25
25
echo "modcache=$(go env GOMODCACHE)" >> $GITHUB_ENV
26
26
27
- - name : Set up dependencies cache
27
+ - name : Restore dependencies cache
28
28
uses : actions/cache@v3
29
29
with :
30
30
path : |
@@ -33,14 +33,21 @@ jobs:
33
33
restore-keys : |
34
34
setup-go-deps-
35
35
36
- - name : Set up intermediate built files cache
36
+ - name : Restore intermediate built files cache
37
37
uses : actions/cache@v3
38
38
with :
39
39
path : |
40
40
${{ env.modcache }}
41
41
key : setup-go-build-${{ hashFiles('**/*.go') }}
42
42
restore-keys : |
43
43
setup-go-build-
44
+
45
+ - name : Cached files stats
46
+ run : |
47
+ echo 'Cache build artefacts size (Mb):'
48
+ du -m -s ${{ env.cache }}
49
+ echo 'Cached dependencies size (Mb):'
50
+ du -m -s ${{ env.modcache }}
44
51
45
52
- name : get
46
53
run : |
You can’t perform that action at this time.
0 commit comments