Commit 9b48b29
authored
ci: improve go caching (#45)
Adds the go build cache directory to our saved cache so that we won't
rebuild the go tool binaries unless there are module updates in the
subsequent steps.
It also adds fallbacks to the restore_cache step so that it will restore
from the most recent cache when we've modified the go dependencies or
tools.
This change reduces the run time of our CI jobs by a few minutes.1 parent 0baa91d commit 9b48b29
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
0 commit comments