mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
2b9baffdcb
setup-go has been sporadically failing to download Go, and we were advised by a member of the Go team that downloading Go from `storage.googleapis.com` is not guaranteed (which is what setup-go <= v5.6.0 does). Also remove the use-preinstalled-go optimization for Windows runners. setup-go v6 sets GOTOOLCHAIN=local, which prevents the pre-installed Go from auto-downloading the toolchain specified in go.mod. The windows optimization with v5 relied on GOTOOLCHAIN=auto. setup-go uses the runner cache, which is a different caching path but should serve the same purpose.