setup-go/src
abdennour 74a1f88c58 feat: add support for custom go-download-site input
This adds a new `go-download-site` input parameter that allows users to specify a custom base URL for downloading Go distributions. This is particularly useful for GitHub Enterprise Server (GHES) environments, corporate proxies, or air-gapped setups where direct access to github.com is restricted.

Changes:
- Added `go-download-site` input to `action.yml` (default: `https://github.com`)
- Updated `installer.ts` to replace the default GitHub URL with the provided custom site URL
- Updated `main.ts` to pass the input to the installer
- Added documentation in `README.md` with examples for Artifactory and GHES proxies

Resolves #296
2025-11-29 20:44:19 +00:00
..
cache-restore.ts fix: add arch to cache key (#493) 2024-08-26 15:19:57 -05:00
cache-save.ts Add support for .tool-versions file in setup-go, update workflow (#673) 2025-10-28 10:26:52 -05:00
cache-utils.ts Revise `isGhes` logic (#511) 2024-10-21 11:56:08 -05:00
constants.ts Implementation of caching functionality for setup-go action (#228) 2022-05-25 12:07:29 +02:00
installer.ts feat: add support for custom go-download-site input 2025-11-29 20:44:19 +00:00
main.ts feat: add support for custom go-download-site input 2025-11-29 20:44:19 +00:00
package-managers.ts Implementation of caching functionality for setup-go action (#228) 2022-05-25 12:07:29 +02:00
setup-go.ts format 2020-02-09 00:29:21 -05:00
system.ts Node 24 upgrade (#624) 2025-09-03 21:54:45 -05:00
types.ts Node 24 upgrade (#624) 2025-09-03 21:54:45 -05:00
utils.ts Update self-hosted environment validation and bump undici version (#556) 2025-04-01 10:32:30 -05:00