chore(deps): update actions/setup-go action to v6 #10

Open
sa-renovate wants to merge 1 commit from renovate/actions-setup-go-6.x into main
Member

This PR contains the following updates:

Package Type Update Change
actions/setup-go action major v3v6

Release Notes

actions/setup-go (actions/setup-go)

v6.4.0

Compare Source

What's Changed

Enhancement
  • Add go-download-base-url input for custom Go distributions by @​gdams in #​721
Dependency update
Documentation update

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.4.0

v6.3.0

Compare Source

What's Changed

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.3.0

v6.2.0

Compare Source

What's Changed

Enhancements
Dependency updates

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.2.0

v6.1.0

Compare Source

What's Changed

Enhancements
Dependency updates

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.1.0

v6.0.0

Compare Source

What's Changed

Breaking Changes

Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. See Release Notes

Dependency Upgrades

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5...v6.0.0

v6

Compare Source

v5.6.0

Compare Source

What's Changed

Full Changelog: https://github.com/actions/setup-go/compare/v5...v5.6.0

v5.5.0

Compare Source

What's Changed

Bug fixes:
Dependency updates:

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5...v5.5.0

v5.4.0

Compare Source

What's Changed

Dependency updates :

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5...v5.4.0

v5.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5...v5.3.0

v5.2.0

Compare Source

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: https://github.com/actions/setup-go/compare/v5...v5.2.0

v5.1.0

Compare Source

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

Full Changelog: https://github.com/actions/setup-go/compare/v5...v5.1.0

v5.0.2

Compare Source

What's Changed

Bug fixes:
Dependency updates:

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5...v5.0.2

v5.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5.0.0...v5.0.1

v5.0.0

Compare Source

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:

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v4...v5.0.0

v5

Compare Source

v4.3.0

Compare Source

What's Changed

Full Changelog: https://github.com/actions/setup-go/compare/v4...v4.3.0

v4.2.1

Compare Source

What's Changed

Full Changelog: https://github.com/actions/setup-go/compare/v4...v4.2.1

v4.2.0

Compare Source

What's Changed

  • Upgrade @actions/cache by @​priyagupta108 in #​578.
    In scope of this release we updated actions/cache package to 4.0.3. This update ensures continued support and compatibility, as older versions of the package are now deprecated. For more information please refer to the toolkit/cache.

Full Changelog: https://github.com/actions/setup-go/compare/v4...v4.2.0

v4.1.0

Compare Source

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:

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v4...v4.1.0

v4.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v4...v4.0.1

v4.0.0

Compare Source

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

v4

Compare Source

v3.6.1

Compare Source

What's Changed

Full Changelog: https://github.com/actions/setup-go/compare/v3...v3.6.1

v3.6.0

Compare Source

What's Changed

  • Upgrade @actions/cache by @​priyagupta108 in #​579.
    In scope of this release we updated actions/cache package to 4.0.3. This update ensures continued support and compatibility, as older versions of the package are now deprecated. For more information please refer to the toolkit/cache.

Full Changelog: https://github.com/actions/setup-go/compare/v3...v3.6.0

v3.5.0: Add support for stable and oldstable aliases

Compare Source

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

v3.4.0: Add support for go.work and pass the token input through on GHES

Compare Source

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.

v3.3.1: Fix cache issues and update dependencies

Compare Source

In scope of this release we fixed the issue with the correct generation of the cache key when the go-version-file input is set (#​267). Moreover, we fixed an issue when the cache folder was not found. Besides, we updated actions/core to 1.10.0 version (#​273).

v3.3.0: Support architecture input and fix Expand-Archive issue

Compare Source

This release introduces support for architecture input for setup-go action #​253. It also adds support for arm32 architecture for self-hosted runners. If architecture is not provided action will use default runner architecture.
Example of usage:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
   go-version: '1.16'
   architecture: arm

This release also provides fix for issue #​241. #​250 adds support for using explicit filename for Windows which is necessary to satisfy Expand-Archive's requirement on .zip extension.

v3.2.1: Update actions/cache version to 3.0.0

Compare Source

In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling

v3.2.0: Support for caching dependency files and compiler's build outputs

Compare Source

This release introduces support for caching dependency files and compiler's build outputs #​228. For that action uses @​toolkit/cache library under the hood that in turn allows getting rid of configuring @​actions/cache action separately and simplifies the whole workflow.

Such input parameters as cache and cache-dependency-path were added. The cache input is optional, and caching is turned off by default, cache-dependency-path is used to specify the path to a dependency file - go.sum.

Examples of use-cases:

  • cache input only:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
    go-version: '18'
    cache: true
  • cache along with cache-dependency-path:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
  with:
    go-version: '18'
    cache: true
    cache-dependency-path: subdir/go.sum

v3.1.0: Add go-version-file input

Compare Source

Adding Go version file support

In scope of this release we add the go-version-file input. The new input (go-version-file) provides functionality to specify the path to the file containing Go version with such behaviour:

  • If the file does not exist the action will throw an error.
  • If you specify both go-version and go-version-file inputs, the action will use value from the go-version input and throw the following warning: Both go-version and go-version-file inputs are specified, only go-version will be used.
  • For now the action supports .go-version and go.mod files.
steps:
 - uses: actions/checkout@v3
 - uses: actions/setup-go@v3
   with:
     go-version-file: 'path/to/go.mod'
 - run: go version

Besides, the following pull requests included in this release:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v3` → `v6` | --- ### Release Notes <details> <summary>actions/setup-go (actions/setup-go)</summary> ### [`v6.4.0`](https://github.com/actions/setup-go/releases/tag/v6.4.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.3.0...v6.4.0) #### What's Changed ##### Enhancement - Add go-download-base-url input for custom Go distributions by [@&#8203;gdams](https://github.com/gdams) in [#&#8203;721](https://github.com/actions/setup-go/pull/721) ##### Dependency update - Upgrade minimatch from 3.1.2 to 3.1.5 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;727](https://github.com/actions/setup-go/pull/727) ##### Documentation update - Rearrange README.md, add advanced-usage.md by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;724](https://github.com/actions/setup-go/pull/724) - Fix Microsoft build of Go link by [@&#8203;gdams](https://github.com/gdams) in [#&#8203;734](https://github.com/actions/setup-go/pull/734) #### New Contributors - [@&#8203;gdams](https://github.com/gdams) made their first contribution in [#&#8203;721](https://github.com/actions/setup-go/pull/721) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.4.0> ### [`v6.3.0`](https://github.com/actions/setup-go/releases/tag/v6.3.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.2.0...v6.3.0) #### What's Changed - Update default Go module caching to use go.mod by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;705](https://github.com/actions/setup-go/pull/705) - Fix golang download url to go.dev by [@&#8203;178inaba](https://github.com/178inaba) in [#&#8203;469](https://github.com/actions/setup-go/pull/469) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.3.0> ### [`v6.2.0`](https://github.com/actions/setup-go/releases/tag/v6.2.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.1.0...v6.2.0) #### What's Changed ##### Enhancements - Example for restore-only cache in documentation by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;696](https://github.com/actions/setup-go/pull/696) - Update Node.js version in action.yml by [@&#8203;ccoVeille](https://github.com/ccoVeille) in [#&#8203;691](https://github.com/actions/setup-go/pull/691) - Documentation update of actions/checkout by [@&#8203;deining](https://github.com/deining) in [#&#8203;683](https://github.com/actions/setup-go/pull/683) ##### Dependency updates - Upgrade js-yaml from 3.14.1 to 3.14.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;682](https://github.com/actions/setup-go/pull/682) - Upgrade [@&#8203;actions/cache](https://github.com/actions/cache) to v5 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;695](https://github.com/actions/setup-go/pull/695) - Upgrade actions/checkout from 5 to 6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;686](https://github.com/actions/setup-go/pull/686) - Upgrade qs from 6.14.0 to 6.14.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;703](https://github.com/actions/setup-go/pull/703) #### New Contributors - [@&#8203;ccoVeille](https://github.com/ccoVeille) made their first contribution in [#&#8203;691](https://github.com/actions/setup-go/pull/691) - [@&#8203;deining](https://github.com/deining) made their first contribution in [#&#8203;683](https://github.com/actions/setup-go/pull/683) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.2.0> ### [`v6.1.0`](https://github.com/actions/setup-go/releases/tag/v6.1.0) [Compare Source](https://github.com/actions/setup-go/compare/v6...v6.1.0) #### What's Changed ##### Enhancements - Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang by [@&#8203;nicholasngai](https://github.com/nicholasngai) in [#&#8203;665](https://github.com/actions/setup-go/pull/665) - Add support for .tool-versions file and update workflow by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;673](https://github.com/actions/setup-go/pull/673) - Add comprehensive breaking changes documentation for v6 by [@&#8203;mahabaleshwars](https://github.com/mahabaleshwars) in [#&#8203;674](https://github.com/actions/setup-go/pull/674) ##### Dependency updates - Upgrade eslint-config-prettier from 10.0.1 to 10.1.8 and document breaking changes in v6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;617](https://github.com/actions/setup-go/pull/617) - Upgrade actions/publish-action from 0.3.0 to 0.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;641](https://github.com/actions/setup-go/pull/641) - Upgrade semver and [@&#8203;types/semver](https://github.com/types/semver) by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;652](https://github.com/actions/setup-go/pull/652) #### New Contributors - [@&#8203;nicholasngai](https://github.com/nicholasngai) made their first contribution in [#&#8203;665](https://github.com/actions/setup-go/pull/665) - [@&#8203;priya-kinthali](https://github.com/priya-kinthali) made their first contribution in [#&#8203;673](https://github.com/actions/setup-go/pull/673) - [@&#8203;mahabaleshwars](https://github.com/mahabaleshwars) made their first contribution in [#&#8203;674](https://github.com/actions/setup-go/pull/674) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.1.0> ### [`v6.0.0`](https://github.com/actions/setup-go/releases/tag/v6.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v6...v6) #### What's Changed ##### Breaking Changes - Improve toolchain handling to ensure more reliable and consistent toolchain selection and management by [@&#8203;matthewhughes934](https://github.com/matthewhughes934) in [#&#8203;460](https://github.com/actions/setup-go/pull/460) - Upgrade Nodejs runtime from node20 to node 24 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;624](https://github.com/actions/setup-go/pull/624) Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1) ##### Dependency Upgrades - Upgrade [@&#8203;types/jest](https://github.com/types/jest) from 29.5.12 to 29.5.14 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;589](https://github.com/actions/setup-go/pull/589) - Upgrade [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) from 2.0.1 to 2.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;591](https://github.com/actions/setup-go/pull/591) - Upgrade [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.31.1 to 8.35.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;590](https://github.com/actions/setup-go/pull/590) - Upgrade undici from 5.28.5 to 5.29.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;594](https://github.com/actions/setup-go/pull/594) - Upgrade typescript from 5.4.2 to 5.8.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;538](https://github.com/actions/setup-go/pull/538) - Upgrade eslint-plugin-jest from 28.11.0 to 29.0.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;603](https://github.com/actions/setup-go/pull/603) - Upgrade `form-data` to bring in fix for critical vulnerability by [@&#8203;matthewhughes934](https://github.com/matthewhughes934) in [#&#8203;618](https://github.com/actions/setup-go/pull/618) - Upgrade actions/checkout from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;631](https://github.com/actions/setup-go/pull/631) #### New Contributors - [@&#8203;matthewhughes934](https://github.com/matthewhughes934) made their first contribution in [#&#8203;618](https://github.com/actions/setup-go/pull/618) - [@&#8203;salmanmkc](https://github.com/salmanmkc) made their first contribution in [#&#8203;624](https://github.com/actions/setup-go/pull/624) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v6.0.0> ### [`v6`](https://github.com/actions/setup-go/compare/v5.6.0...v6) [Compare Source](https://github.com/actions/setup-go/compare/v5.6.0...v6) ### [`v5.6.0`](https://github.com/actions/setup-go/releases/tag/v5.6.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.5.0...v5.6.0) #### What's Changed - Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;689](https://github.com/actions/setup-go/pull/689) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.6.0> ### [`v5.5.0`](https://github.com/actions/setup-go/releases/tag/v5.5.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.4.0...v5.5.0) #### What's Changed ##### Bug fixes: - Update self-hosted environment validation by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;556](https://github.com/actions/setup-go/pull/556) - Add manifest validation and improve error handling by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;586](https://github.com/actions/setup-go/pull/586) - Update template link by [@&#8203;jsoref](https://github.com/jsoref) in [#&#8203;527](https://github.com/actions/setup-go/pull/527) ##### Dependency updates: - Upgrade [@&#8203;action/cache](https://github.com/action/cache) from 4.0.2 to 4.0.3 by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;574](https://github.com/actions/setup-go/pull/574) - Upgrade [@&#8203;actions/glob](https://github.com/actions/glob) from 0.4.0 to 0.5.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;573](https://github.com/actions/setup-go/pull/573) - Upgrade ts-jest from 29.1.2 to 29.3.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;582](https://github.com/actions/setup-go/pull/582) - Upgrade eslint-plugin-jest from 27.9.0 to 28.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;537](https://github.com/actions/setup-go/pull/537) #### New Contributors - [@&#8203;jsoref](https://github.com/jsoref) made their first contribution in [#&#8203;527](https://github.com/actions/setup-go/pull/527) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.5.0> ### [`v5.4.0`](https://github.com/actions/setup-go/releases/tag/v5.4.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.3.0...v5.4.0) #### What's Changed ##### Dependency updates : - Upgrade semver from 7.6.0 to 7.6.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;535](https://github.com/actions/setup-go/pull/535) - Upgrade eslint-config-prettier from 8.10.0 to 10.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;536](https://github.com/actions/setup-go/pull/536) - Upgrade [@&#8203;action/cache](https://github.com/action/cache) from 4.0.0 to 4.0.2 by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;568](https://github.com/actions/setup-go/pull/568) - Upgrade undici from 5.28.4 to 5.28.5 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;541](https://github.com/actions/setup-go/pull/541) #### New Contributors - [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) made their first contribution in [#&#8203;568](https://github.com/actions/setup-go/pull/568) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.4.0> ### [`v5.3.0`](https://github.com/actions/setup-go/releases/tag/v5.3.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.2.0...v5.3.0) #### What's Changed - Use the new cache service: upgrade `@actions/cache` to `^4.0.0` by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;531](https://github.com/actions/setup-go/pull/531) - Configure Dependabot settings by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;530](https://github.com/actions/setup-go/pull/530) - Document update - permission section by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;533](https://github.com/actions/setup-go/pull/533) - Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;534](https://github.com/actions/setup-go/pull/534) #### New Contributors - [@&#8203;Link-](https://github.com/Link-) made their first contribution in [#&#8203;531](https://github.com/actions/setup-go/pull/531) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.3.0> ### [`v5.2.0`](https://github.com/actions/setup-go/releases/tag/v5.2.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.1.0...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 [@&#8203;Shegox](https://github.com/Shegox) in [#&#8203;496](https://github.com/actions/setup-go/pull/496) #### New Contributors - [@&#8203;Shegox](https://github.com/Shegox) made their first contribution in [#&#8203;496](https://github.com/actions/setup-go/pull/496) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.2.0> ### [`v5.1.0`](https://github.com/actions/setup-go/releases/tag/v5.1.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.0.2...v5.1.0) #### What's Changed - Add workflow file for publishing releases to immutable action package by [@&#8203;Jcambass](https://github.com/Jcambass) in [#&#8203;500](https://github.com/actions/setup-go/pull/500) - Upgrade IA Publish by [@&#8203;Jcambass](https://github.com/Jcambass) in [#&#8203;502](https://github.com/actions/setup-go/pull/502) - Add architecture to cache key by [@&#8203;Zxilly](https://github.com/Zxilly) in [#&#8203;493](https://github.com/actions/setup-go/pull/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 [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;510](https://github.com/actions/setup-go/pull/510) **Bug Fixes** - Revise `isGhes` logic by [@&#8203;jww3](https://github.com/jww3) in [#&#8203;511](https://github.com/actions/setup-go/pull/511) #### New Contributors - [@&#8203;Zxilly](https://github.com/Zxilly) made their first contribution in [#&#8203;493](https://github.com/actions/setup-go/pull/493) - [@&#8203;Jcambass](https://github.com/Jcambass) made their first contribution in [#&#8203;500](https://github.com/actions/setup-go/pull/500) - [@&#8203;jww3](https://github.com/jww3) made their first contribution in [#&#8203;511](https://github.com/actions/setup-go/pull/511) - [@&#8203;priyagupta108](https://github.com/priyagupta108) made their first contribution in [#&#8203;510](https://github.com/actions/setup-go/pull/510) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.1.0> ### [`v5.0.2`](https://github.com/actions/setup-go/releases/tag/v5.0.2) [Compare Source](https://github.com/actions/setup-go/compare/v5.0.1...v5.0.2) #### What's Changed ##### Bug fixes: - Fix versions check failure by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;479](https://github.com/actions/setup-go/pull/479) ##### Dependency updates: - Bump braces from 3.0.2 to 3.0.3 and undici from 5.28.3 to 5.28.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;487](https://github.com/actions/setup-go/pull/487) #### New Contributors - [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) made their first contribution in [#&#8203;479](https://github.com/actions/setup-go/pull/479) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v5.0.2> ### [`v5.0.1`](https://github.com/actions/setup-go/releases/tag/v5.0.1) [Compare Source](https://github.com/actions/setup-go/compare/v5...v5.0.1) #### What's Changed - Bump undici from 5.28.2 to 5.28.3 and dependencies upgrade by [@&#8203;dependabot](https://github.com/dependabot) , [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;465](https://github.com/actions/setup-go/pull/465) - Update documentation with latest V5 release notes by [@&#8203;ab](https://github.com/ab) in [#&#8203;459](https://github.com/actions/setup-go/pull/459) - Update version documentation by [@&#8203;178inaba](https://github.com/178inaba) in [#&#8203;458](https://github.com/actions/setup-go/pull/458) - Documentation update of `actions/setup-go` to v5 by [@&#8203;chenrui333](https://github.com/chenrui333) in [#&#8203;449](https://github.com/actions/setup-go/pull/449) #### New Contributors - [@&#8203;ab](https://github.com/ab) made their first contribution in [#&#8203;459](https://github.com/actions/setup-go/pull/459) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5.0.0...v5.0.1> ### [`v5.0.0`](https://github.com/actions/setup-go/releases/tag/v5.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v5...v5) #### What's Changed In scope of this release, we change Nodejs runtime from node16 to node20 ([#&#8203;421](https://github.com/actions/setup-go/pull/421)). Moreover, we update some dependencies to the latest versions ([#&#8203;445](https://github.com/actions/setup-go/pull/445)). Besides, this release contains such changes as: - Fix hosted tool cache usage on windows by [@&#8203;galargh](https://github.com/galargh) in [#&#8203;411](https://github.com/actions/setup-go/pull/411) - Improve documentation regarding dependencies caching by [@&#8203;artemgavrilov](https://github.com/artemgavrilov) in [#&#8203;417](https://github.com/actions/setup-go/pull/417) #### New Contributors - [@&#8203;galargh](https://github.com/galargh) made their first contribution in [#&#8203;411](https://github.com/actions/setup-go/pull/411) - [@&#8203;artemgavrilov](https://github.com/artemgavrilov) made their first contribution in [#&#8203;417](https://github.com/actions/setup-go/pull/417) - [@&#8203;chenrui333](https://github.com/chenrui333) made their first contribution in [#&#8203;421](https://github.com/actions/setup-go/pull/421) **Full Changelog**: <https://github.com/actions/setup-go/compare/v4...v5.0.0> ### [`v5`](https://github.com/actions/setup-go/compare/v4.3.0...v5) [Compare Source](https://github.com/actions/setup-go/compare/v4.3.0...v5) ### [`v4.3.0`](https://github.com/actions/setup-go/releases/tag/v4.3.0) [Compare Source](https://github.com/actions/setup-go/compare/v4.2.1...v4.3.0) #### What's Changed - Fallback to downloading from go.dev/dl instead of storage.googleapis.com/golang by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;690](https://github.com/actions/setup-go/pull/690) **Full Changelog**: <https://github.com/actions/setup-go/compare/v4...v4.3.0> ### [`v4.2.1`](https://github.com/actions/setup-go/releases/tag/v4.2.1) [Compare Source](https://github.com/actions/setup-go/compare/v4.2.0...v4.2.1) #### What's Changed - Add workflow file for publishing releases to immutable action package by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;583](https://github.com/actions/setup-go/pull/583) **Full Changelog**: <https://github.com/actions/setup-go/compare/v4...v4.2.1> ### [`v4.2.0`](https://github.com/actions/setup-go/releases/tag/v4.2.0) [Compare Source](https://github.com/actions/setup-go/compare/v4.1.0...v4.2.0) #### What's Changed - Upgrade `@actions/cache` by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;578](https://github.com/actions/setup-go/pull/578). In scope of this release we updated `actions/cache` package to `4.0.3`. This update ensures continued support and compatibility, as older versions of the package are now deprecated. For more information please refer to the [toolkit/cache](https://github.com/actions/toolkit/discussions/1890). **Full Changelog**: <https://github.com/actions/setup-go/compare/v4...v4.2.0> ### [`v4.1.0`](https://github.com/actions/setup-go/releases/tag/v4.1.0) [Compare Source](https://github.com/actions/setup-go/compare/v4.0.1...v4.1.0) #### What's Changed In scope of this release, slow installation on Windows was fixed by [@&#8203;dsame](https://github.com/dsame) in [#&#8203;393](https://github.com/actions/setup-go/pull/393) and OS version was added to `primaryKey` for Ubuntu runners to avoid conflicts ([#&#8203;383](https://github.com/actions/setup-go/pull/383)) This release also includes the following changes: - Remove implicit dependencies by [@&#8203;nikolai-laevskii](https://github.com/nikolai-laevskii) in [#&#8203;378](https://github.com/actions/setup-go/pull/378) - Update action.yml by [@&#8203;mkelly](https://github.com/mkelly) in [#&#8203;379](https://github.com/actions/setup-go/pull/379) - Added a description that go-version should be specified as a string type by [@&#8203;n3xem](https://github.com/n3xem) in [#&#8203;367](https://github.com/actions/setup-go/pull/367) - Add note about YAML parsing versions by [@&#8203;dmitry-shibanov](https://github.com/dmitry-shibanov) in [#&#8203;382](https://github.com/actions/setup-go/pull/382) - Automatic update of configuration files from 05/23/2023 by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;377](https://github.com/actions/setup-go/pull/377) - Bump tough-cookie and [@&#8203;azure/ms-rest-js](https://github.com/azure/ms-rest-js) by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;392](https://github.com/actions/setup-go/pull/392) - Bump word-wrap from 1.2.3 to 1.2.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;397](https://github.com/actions/setup-go/pull/397) - Bump semver from 6.3.0 to 6.3.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;396](https://github.com/actions/setup-go/pull/396) #### New Contributors - [@&#8203;mkelly](https://github.com/mkelly) made their first contribution in [#&#8203;379](https://github.com/actions/setup-go/pull/379) - [@&#8203;n3xem](https://github.com/n3xem) made their first contribution in [#&#8203;367](https://github.com/actions/setup-go/pull/367) **Full Changelog**: <https://github.com/actions/setup-go/compare/v4...v4.1.0> ### [`v4.0.1`](https://github.com/actions/setup-go/releases/tag/v4.0.1) [Compare Source](https://github.com/actions/setup-go/compare/v4...v4.0.1) #### What's Changed - Update documentation for `v4` by [@&#8203;dsame](https://github.com/dsame) in [#&#8203;354](https://github.com/actions/setup-go/pull/354) - Fix glob bug in the package.json scripts section by [@&#8203;IvanZosimov](https://github.com/IvanZosimov) in [#&#8203;359](https://github.com/actions/setup-go/pull/359) - Bump `xml2js` dependency by [@&#8203;dmitry-shibanov](https://github.com/dmitry-shibanov) in [#&#8203;370](https://github.com/actions/setup-go/pull/370) - Bump `@actions/cache` dependency to v3.2.1 by [@&#8203;nikolai-laevskii](https://github.com/nikolai-laevskii) in [#&#8203;374](https://github.com/actions/setup-go/pull/374) #### New Contributors - [@&#8203;nikolai-laevskii](https://github.com/nikolai-laevskii) made their first contribution in [#&#8203;374](https://github.com/actions/setup-go/pull/374) **Full Changelog**: <https://github.com/actions/setup-go/compare/v4...v4.0.1> ### [`v4.0.0`](https://github.com/actions/setup-go/releases/tag/v4.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v4...v4) 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`. ```yaml 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 - [Allow to use only GOCACHE for cache](https://github.com/actions/setup-go/pull/305) - [Bump json5 from 2.2.1 to 2.2.3](https://github.com/actions/setup-go/pull/315) - [Use proper version for primary key in cache](https://github.com/actions/setup-go/pull/323) - [Always add Go bin to the PATH](https://github.com/actions/setup-go/pull/351) - [Add step warning if go-version input is empty](https://github.com/actions/setup-go/pull/350) ### [`v4`](https://github.com/actions/setup-go/compare/v3.6.1...v4) [Compare Source](https://github.com/actions/setup-go/compare/v3.6.1...v4) ### [`v3.6.1`](https://github.com/actions/setup-go/releases/tag/v3.6.1) [Compare Source](https://github.com/actions/setup-go/compare/v3.6.0...v3.6.1) #### What's Changed - Add workflow file for publishing releases to immutable action package by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;584](https://github.com/actions/setup-go/pull/584) **Full Changelog**: <https://github.com/actions/setup-go/compare/v3...v3.6.1> ### [`v3.6.0`](https://github.com/actions/setup-go/releases/tag/v3.6.0) [Compare Source](https://github.com/actions/setup-go/compare/v3.5.0...v3.6.0) #### What's Changed - Upgrade `@actions/cache` by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;579](https://github.com/actions/setup-go/pull/579). In scope of this release we updated `actions/cache` package to `4.0.3`. This update ensures continued support and compatibility, as older versions of the package are now deprecated. For more information please refer to the [toolkit/cache](https://github.com/actions/toolkit/discussions/1890). **Full Changelog**: <https://github.com/actions/setup-go/compare/v3...v3.6.0> ### [`v3.5.0`](https://github.com/actions/setup-go/releases/tag/v3.5.0): Add support for stable and oldstable aliases [Compare Source](https://github.com/actions/setup-go/compare/v3.4.0...v3.5.0) 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 ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: 'stable' - run: go run hello.go ``` ##### OldStable ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: 'oldstable' - run: go run hello.go ``` ### [`v3.4.0`](https://github.com/actions/setup-go/releases/tag/v3.4.0): Add support for go.work and pass the token input through on GHES [Compare Source](https://github.com/actions/setup-go/compare/v3.3.1...v3.4.0) In scope of this release we added [support for go.work file to pass it in go-version-file input](https://github.com/actions/setup-go/pull/283). ```yaml 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](https://github.com/actions/setup-go/pull/277). ### [`v3.3.1`](https://github.com/actions/setup-go/releases/tag/v3.3.1): Fix cache issues and update dependencies [Compare Source](https://github.com/actions/setup-go/compare/v3.3.0...v3.3.1) In scope of this release we fixed the issue with the correct generation of the cache key when the `go-version-file` input is set ([#&#8203;267](https://github.com/actions/setup-go/pull/267)). Moreover, we fixed an issue when [the cache folder was not found](https://github.com/actions/setup-go/pull/264). Besides, we updated `actions/core` to 1.10.0 version ([#&#8203;273](https://github.com/actions/setup-go/pull/273)). ### [`v3.3.0`](https://github.com/actions/setup-go/releases/tag/v3.3.0): Support architecture input and fix Expand-Archive issue [Compare Source](https://github.com/actions/setup-go/compare/v3.2.1...v3.3.0) This release introduces support for architecture input for `setup-go` action [#&#8203;253](https://github.com/actions/setup-go/issues/253). It also adds support for arm32 architecture for self-hosted runners. If architecture is not provided action will use default runner architecture. Example of usage: ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: '1.16' architecture: arm ``` This release also provides fix for issue [#&#8203;241](https://github.com/actions/setup-go/issues/241). [#&#8203;250](https://github.com/actions/setup-go/issues/250) adds support for using explicit filename for Windows which is necessary to satisfy Expand-Archive's requirement on .zip extension. ### [`v3.2.1`](https://github.com/actions/setup-go/releases/tag/v3.2.1): Update actions/cache version to 3.0.0 [Compare Source](https://github.com/actions/setup-go/compare/v3.2.0...v3.2.1) In scope of this release we updated `actions/cache` package as the new version contains fixes for [caching error handling](https://github.com/actions/setup-go/pull/238) ### [`v3.2.0`](https://github.com/actions/setup-go/releases/tag/v3.2.0): Support for caching dependency files and compiler's build outputs [Compare Source](https://github.com/actions/setup-go/compare/v3.1.0...v3.2.0) This release introduces support for caching dependency files and compiler's build outputs [#&#8203;228](https://github.com/actions/setup-go/pull/228). For that action uses [@&#8203;toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache) library under the hood that in turn allows getting rid of configuring [@&#8203;actions/cache](https://github.com/actions/cache) action separately and simplifies the whole workflow. Such input parameters as `cache` and `cache-dependency-path` were added. The `cache` input is optional, and caching is turned off by default, `cache-dependency-path` is used to specify the path to a dependency file - `go.sum`. **Examples of use-cases:** - `cache` input only: ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: '18' cache: true ``` - `cache` along with `cache-dependency-path`: ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version: '18' cache: true cache-dependency-path: subdir/go.sum ``` ### [`v3.1.0`](https://github.com/actions/setup-go/releases/tag/v3.1.0): Add go-version-file input [Compare Source](https://github.com/actions/setup-go/compare/v3...v3.1.0) ##### Adding Go version file support In scope of this release we add the [go-version-file](https://github.com/actions/setup-go/pull/62) input. The new input (`go-version-file`) provides functionality to specify the path to the file containing Go version with such behaviour: - If the file does not exist the action will throw an error. - If you specify both go-version and go-version-file inputs, the action will use value from the go-version input and throw the following warning: Both go-version and go-version-file inputs are specified, only go-version will be used. - For now the action supports .go-version and go.mod files. ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: go-version-file: 'path/to/go.mod' - run: go version ``` Besides, the following pull requests included in this release: - Fix condition for GOPATH output [#&#8203;221](https://github.com/actions/setup-go/pull/221) - Added go-version output [#&#8203;85](https://github.com/actions/setup-go/pull/85) - Do not export GOROOT for Go versions >= 1.9 [#&#8203;175](https://github.com/actions/setup-go/pull/175) - Update [@&#8203;zeit/ncc](https://github.com/zeit/ncc) to [@&#8203;vercel/ncc](https://github.com/vercel/ncc) [#&#8203;229](https://github.com/actions/setup-go/pull/229) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My43Ni41IiwidXBkYXRlZEluVmVyIjoiNDMuMTQxLjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
chore(deps): update actions/setup-go action to v6
All checks were successful
Go Tests / go-tests (pull_request) Successful in 3m13s
8a1e2cccdf
All checks were successful
Go Tests / go-tests (pull_request) Successful in 3m13s
Required
Details
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/actions-setup-go-6.x:renovate/actions-setup-go-6.x
git switch renovate/actions-setup-go-6.x
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DevFW-CICD/garm-provider-edge-connect!10
No description provided.