setup-go/__tests__
Repository files (latest commit first)
Filename Latest commit message Latest commit date
John Maguire 71b6f8926f Add go-version-file-behavior input
By default an exact version read from go-version-file is used as
written, so a "go 1.22.0" directive pins CI to the oldest patch
release of the minor even when newer patches with security fixes
exist. Dependencies can force such an exact version into go.mod.

Setting go-version-file-behavior to latest-patch widens an exact
major.minor.patch version into a ~X.Y.Z range, resolving the newest
available patch release of the same minor while keeping the file's
version as a floor. Bare minors and prereleases pass through
unchanged. The default behavior (exact) is unchanged.
2026-08-18 11:52:47 -04:00
..
data Add comprehensive breaking changes documentation for v6 (#674) 2025-11-19 09:40:16 -06:00
cache-restore.test.ts Migrate to ESM and upgrade dependencies (#763) 2026-07-15 15:34:36 -05:00
cache-save.test.ts Migrate to ESM and upgrade dependencies (#763) 2026-07-15 15:34:36 -05:00
cache-utils.test.ts Migrate to ESM and upgrade dependencies (#763) 2026-07-15 15:34:36 -05:00
setup-go.test.ts Add go-version-file-behavior input 2026-08-18 11:52:47 -04:00
utils.test.ts Migrate to ESM and upgrade dependencies (#763) 2026-07-15 15:34:36 -05:00
verify-go.sh Use GitHub releases to download Go versions. (#58) 2020-06-29 11:41:13 -04:00
windows-toolcache.test.ts Migrate to ESM and upgrade dependencies (#763) 2026-07-15 15:34:36 -05:00