[Internal] Use go tool from Go 1.24 instead of go run#4577
Merged
Conversation
With `go tool` introduced in Go 1.24 it's easier to manage dependencies to tools used for tests, formatting, linting, etc. Resolves #4343 NO_CHANGELOG=true
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
mgyucht
approved these changes
Mar 18, 2025
github-merge-queue bot
pushed a commit
to databricks/cli
that referenced
this pull request
Apr 7, 2025
## Changes - Bump to to 1.24.2 https://go.dev/doc/go1.24 ## Why Potentially relevant features: - tool section in go.mod - Directory limited file-system access: https://go.dev/doc/go1.24#directory-limited-filesystem-access - new omitzero tag in encoding/json: https://go.dev/doc/go1.24#encodingjsonpkgencodingjson Related: Terraform provider upgraded to 1.24 in February (databricks/terraform-provider-databricks#4508) and made use of new "tool" functionality (databricks/terraform-provider-databricks#4577). ## Tests Existing tests.
micheltuu
pushed a commit
that referenced
this pull request
Sep 11, 2025
<!-- Summary of your changes that are easy to understand --> With `go tool` introduced in Go 1.24 it's easier to manage dependencies to tools used for tests, formatting, linting, etc. Resolves #4343 NO_CHANGELOG=true <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [ ] `make test` run locally - [ ] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] using Go SDK - [ ] using TF Plugin Framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
With
go toolintroduced in Go 1.24 it's easier to manage dependencies to tools used for tests, formatting, linting, etc.Resolves #4343
NO_CHANGELOG=true
Tests
make testrun locallydocs/folderinternal/acceptance