Releases: actions/setup-go
v5.2.0
What's Changed
- Leveraging the raw API to retrieve the version-manifest, as it does not impose a rate limit and hence facilitates unrestricted consumption without the need for a token for Github Enterprise Servers by @Shegox in #496
New Contributors
Full Changelog: v5...v5.2.0
v5.1.0
What's Changed
- Add workflow file for publishing releases to immutable action package by @Jcambass in #500
- Upgrade IA Publish by @Jcambass in #502
- Add architecture to cache key by @Zxilly in #493
This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts.
Note: This change may break previous cache keys as they will no longer be compatible with the new format. - Enhance workflows and Upgrade micromatch Dependency by @priyagupta108 in #510
Bug Fixes
New Contributors
- @Zxilly made their first contribution in #493
- @Jcambass made their first contribution in #500
- @jww3 made their first contribution in #511
- @priyagupta108 made their first contribution in #510
Full Changelog: v5...v5.1.0
v5.0.2
What's Changed
Bug fixes:
- Fix versions check failure by @HarithaVattikuti in #479
Dependency updates:
- Bump braces from 3.0.2 to 3.0.3 and undici from 5.28.3 to 5.28.4 by @dependabot in #487
New Contributors
- @HarithaVattikuti made their first contribution in #479
Full Changelog: v5...v5.0.2
v5.0.1
What's Changed
- Bump undici from 5.28.2 to 5.28.3 and dependencies upgrade by @dependabot , @HarithaVattikuti in #465
- Update documentation with latest V5 release notes by @ab in #459
- Update version documentation by @178inaba in #458
- Documentation update of
actions/setup-go
to v5 by @chenrui333 in #449
New Contributors
Full Changelog: v5.0.0...v5.0.1
v5.0.0
What's Changed
In scope of this release, we change Nodejs runtime from node16 to node20 (#421). Moreover, we update some dependencies to the latest versions (#445).
Besides, this release contains such changes as:
- Fix hosted tool cache usage on windows by @galargh in #411
- Improve documentation regarding dependencies caching by @artemgavrilov in #417
New Contributors
- @galargh made their first contribution in #411
- @artemgavrilov made their first contribution in #417
- @chenrui333 made their first contribution in #421
Full Changelog: v4...v5.0.0
v4.1.0
What's Changed
In scope of this release, slow installation on Windows was fixed by @dsame in #393 and OS version was added to primaryKey
for Ubuntu runners to avoid conflicts (#383)
This release also includes the following changes:
- Remove implicit dependencies by @nikolai-laevskii in #378
- Update action.yml by @mkelly in #379
- Added a description that go-version should be specified as a string type by @n3xem in #367
- Add note about YAML parsing versions by @dmitry-shibanov in #382
- Automatic update of configuration files from 05/23/2023 by @github-actions in #377
- Bump tough-cookie and @azure/ms-rest-js by @dependabot in #392
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #397
- Bump semver from 6.3.0 to 6.3.1 by @dependabot in #396
New Contributors
Full Changelog: v4...v4.1.0
v4.0.1
What's Changed
- Update documentation for
v4
by @dsame in #354 - Fix glob bug in the package.json scripts section by @IvanZosimov in #359
- Bump
xml2js
dependency by @dmitry-shibanov in #370 - Bump
@actions/cache
dependency to v3.2.1 by @nikolai-laevskii in #374
New Contributors
- @nikolai-laevskii made their first contribution in #374
Full Changelog: v4...v4.0.1
v4.0.0
In scope of release we enable cache by default. The action won’t throw an error if the cache can’t be restored or saved. The action will throw a warning message but it won’t stop a build process. The cache can be disabled by specifying cache: false
.
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ‘1.19’
- run: go run hello.go
Besides, we introduce such changes as
Add support for stable and oldstable aliases
In scope of this release we introduce aliases for the go-version
input. The stable
alias instals the latest stable version of Go. The oldstable
alias installs previous latest minor release (the stable is 1.19.x -> the oldstable is 1.18.x).
Stable
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 'stable'
- run: go run hello.go
OldStable
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 'oldstable'
- run: go run hello.go
Add support for go.work and pass the token input through on GHES
In scope of this release we added support for go.work file to pass it in go-version-file input.
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.work
- run: go run hello.go
Besides, we added support to pass the token input through on GHES.