How Go version resolution works
mainThe action resolves the requested version using the following priority order:
- Local cache: Checks the local tool cache for a matching semver version.
- go-versions repository: If not in the local cache, it pulls the version manifest from the
mainbranch of theactions/go-versionsrepository. - Direct download: If the lookup fails, it falls back to downloading directly from the official Go distribution site.
Note: The action uses executable binaries built by the Go team and does not build Go binaries from source code.