Commit 20646fb
authored
chore: Use larger runners and disable setup-go caching on Windows for CI (#1133)
Reference: actions/setup-go#495
This improves PR testing from >15 minutes to <5 minutes by using larger
runners (in runner group so we can tune them without adjusting workflow
configuration) and by disabling setup-go caching on Windows. Previously,
it could take up to 10 minutes to download and unarchive the setup-go
cache on Windows runners due to an acknowledged issue. While this could
potentially introduce transient network issues downloading the Go
modules from Google's proxies, those issues are generally pretty rare in
my experience. We could alternatively change the module cache
environment variables on Windows to point at the second hard drive on
the runner, but that seemed more likely to break at some point outside
our control. Ideally GitHub will fix the setup-go action and we'll just
remove the Windows-specific `cache: false` after upgrading.1 parent 3e80ac5 commit 20646fb
2 files changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
| |||
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
33 | | - | |
| 28 | + | |
| 29 | + | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | | - | |
73 | | - | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
0 commit comments