Skip to content

Pin Go toolchain to 1.22.7 - #1790

Merged
pietern merged 1 commit into
mainfrom
go-pin-toolchain
Sep 25, 2024
Merged

Pin Go toolchain to 1.22.7#1790
pietern merged 1 commit into
mainfrom
go-pin-toolchain

Conversation

@pietern

Copy link
Copy Markdown
Contributor

Changes

Relates to #1758.

More information about toolchains:

We need to specify the toolchain as we need to bump Go to 1.22.0 for the mod upgrade and want to use the latest toolchain on the 1.22 series.

Tests

The previous release was made with Go 1.22.7 so we should continue to use it.

Relates to #1758.
More information about toolchains:
* https://go.dev/blog/toolchain
* https://go.dev/doc/toolchain
As we need to bump Go to 1.22.0 for the `mod` upgrade, but want to use the
latest toolchain on the 1.22 series, we need to specify the toolchain.
@pietern

Copy link
Copy Markdown
ContributorAuthor

@andrewnester If we merge #1758 without this, we'd end up building with Go 1.22.5 even though the action installs latest.

@pietern
pietern added this pull request to the merge queueSep 25, 2024
Merged via the queue into main with commit 7f1121dSep 25, 2024
@pietern
pietern deleted the go-pin-toolchain branch September 25, 2024 15:55
andrewnester added a commit that referenced this pull request Oct 1, 2024
Bundles:
* Added support for creating all-purpose clusters ([#1698](#1698)).
* Reduce time until the prompt is shown for bundle run ([#1727](#1727)).
* Use Unity Catalog for pipelines in the default-python template ([#1766](#1766)).
* Add verbose flag to the "bundle deploy" command ([#1774](#1774)).
* Fixed full variable override detection ([#1787](#1787)).
* Add sub-extension to resource files in built-in templates ([#1777](#1777)).
* Fix panic in `apply_presets.go` ([#1796](#1796)).
Internal:
* Assert tokens are redacted in origin URL when username is not specified ([#1785](#1785)).
* Refactor jobs path translation ([#1782](#1782)).
* Add JobTaskClusterSpec validate mutator ([#1784](#1784)).
* Pin Go toolchain to 1.22.7 ([#1790](#1790)).
* Modify SetLocation test utility to take full locations as argument ([#1788](#1788)).
* Simplified isFullVariableOverrideDef implementation ([#1791](#1791)).
* Sort tasks by `task_key` before generating the Terraform configuration ([#1776](#1776)).
* Trim trailing whitespace ([#1794](#1794)).
* Move trampoline code into trampoline package ([#1793](#1793)).
* Rename `RootPath` -> `BundleRootPath` ([#1792](#1792)).
API Changes:
* Changed `databricks apps delete` command to return .
* Changed `databricks apps deploy` command with new required argument order.
* Changed `databricks apps start` command to return .
* Changed `databricks apps stop` command to return .
* Added `databricks temporary-table-credentials` command group.
* Added `databricks serving-endpoints put-ai-gateway` command.
* Added `databricks disable-legacy-access` command group.
* Added `databricks account disable-legacy-features` command group.
OpenAPI commit 6f6b1371e640f2dfeba72d365ac566368656f6b6 (2024-09-19)
Dependency updates:
* Upgrade to Go SDK 0.47.0 ([#1799](#1799)).
* Upgrade to TF provider 1.52 ([#1781](#1781)).
* Bump golang.org/x/mod from 0.20.0 to 0.21.0 ([#1758](#1758)).
* Bump github.com/hashicorp/hc-install from 0.7.0 to 0.9.0 ([#1772](#1772)).
github-merge-queueBot pushed a commit that referenced this pull request Oct 1, 2024
Bundles:
* Added support for creating all-purpose clusters
([#1698](#1698)).
* Reduce time until the prompt is shown for bundle run
([#1727](#1727)).
* Use Unity Catalog for pipelines in the default-python template
([#1766](#1766)).
* Add verbose flag to the "bundle deploy" command
([#1774](#1774)).
* Fixed full variable override detection
([#1787](#1787)).
* Add sub-extension to resource files in built-in templates
([#1777](#1777)).
* Fix panic in `apply_presets.go`
([#1796](#1796)).
Internal:
* Assert tokens are redacted in origin URL when username is not
specified ([#1785](#1785)).
* Refactor jobs path translation
([#1782](#1782)).
* Add JobTaskClusterSpec validate mutator
([#1784](#1784)).
* Pin Go toolchain to 1.22.7
([#1790](#1790)).
* Modify SetLocation test utility to take full locations as argument
([#1788](#1788)).
* Simplified isFullVariableOverrideDef implementation
([#1791](#1791)).
* Sort tasks by `task_key` before generating the Terraform configuration
([#1776](#1776)).
* Trim trailing whitespace
([#1794](#1794)).
* Move trampoline code into trampoline package
([#1793](#1793)).
* Rename `RootPath` -> `BundleRootPath`
([#1792](#1792)).
API Changes:
* Changed `databricks apps delete` command to return .
* Changed `databricks apps deploy` command with new required argument
order.
* Changed `databricks apps start` command to return .
* Changed `databricks apps stop` command to return .
* Added `databricks temporary-table-credentials` command group.
* Added `databricks serving-endpoints put-ai-gateway` command.
* Added `databricks disable-legacy-access` command group.
* Added `databricks account disable-legacy-features` command group.
OpenAPI commit 6f6b1371e640f2dfeba72d365ac566368656f6b6 (2024-09-19)
Dependency updates:
* Upgrade to Go SDK 0.47.0
([#1799](#1799)).
* Upgrade to TF provider 1.52
([#1781](#1781)).
* Bump golang.org/x/mod from 0.20.0 to 0.21.0
([#1758](#1758)).
* Bump github.com/hashicorp/hc-install from 0.7.0 to 0.9.0
([#1772](#1772)).
denik pushed a commit that referenced this pull request May 20, 2026
## Changes
Relates to #1758.
More information about toolchains:
* https://go.dev/blog/toolchain
* https://go.dev/doc/toolchain
We need to specify the toolchain as we need to bump Go to 1.22.0 for the
`mod` upgrade and want to use the latest toolchain on the 1.22 series.
## Tests
The previous release was made with Go 1.22.7 so we should continue to
use it.
denik pushed a commit that referenced this pull request May 20, 2026
Bundles:
* Added support for creating all-purpose clusters
([#1698](#1698)).
* Reduce time until the prompt is shown for bundle run
([#1727](#1727)).
* Use Unity Catalog for pipelines in the default-python template
([#1766](#1766)).
* Add verbose flag to the "bundle deploy" command
([#1774](#1774)).
* Fixed full variable override detection
([#1787](#1787)).
* Add sub-extension to resource files in built-in templates
([#1777](#1777)).
* Fix panic in `apply_presets.go`
([#1796](#1796)).
Internal:
* Assert tokens are redacted in origin URL when username is not
specified ([#1785](#1785)).
* Refactor jobs path translation
([#1782](#1782)).
* Add JobTaskClusterSpec validate mutator
([#1784](#1784)).
* Pin Go toolchain to 1.22.7
([#1790](#1790)).
* Modify SetLocation test utility to take full locations as argument
([#1788](#1788)).
* Simplified isFullVariableOverrideDef implementation
([#1791](#1791)).
* Sort tasks by `task_key` before generating the Terraform configuration
([#1776](#1776)).
* Trim trailing whitespace
([#1794](#1794)).
* Move trampoline code into trampoline package
([#1793](#1793)).
* Rename `RootPath` -> `BundleRootPath`
([#1792](#1792)).
API Changes:
* Changed `databricks apps delete` command to return .
* Changed `databricks apps deploy` command with new required argument
order.
* Changed `databricks apps start` command to return .
* Changed `databricks apps stop` command to return .
* Added `databricks temporary-table-credentials` command group.
* Added `databricks serving-endpoints put-ai-gateway` command.
* Added `databricks disable-legacy-access` command group.
* Added `databricks account disable-legacy-features` command group.
OpenAPI commit 6f6b1371e640f2dfeba72d365ac566368656f6b6 (2024-09-19)
Dependency updates:
* Upgrade to Go SDK 0.47.0
([#1799](#1799)).
* Upgrade to TF provider 1.52
([#1781](#1781)).
* Bump golang.org/x/mod from 0.20.0 to 0.21.0
([#1758](#1758)).
* Bump github.com/hashicorp/hc-install from 0.7.0 to 0.9.0
([#1772](#1772)).
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pietern@andrewnester