diff --git a/.ci/magician/go.mod b/.ci/magician/go.mod index 7a7b018eeda3..233c7e07f194 100644 --- a/.ci/magician/go.mod +++ b/.ci/magician/go.mod @@ -1,6 +1,6 @@ module magician -go 1.24.0 +go 1.25 replace github.com/GoogleCloudPlatform/magic-modules/tools/issue-labeler => ../../tools/issue-labeler diff --git a/.ci/unit-tests/gcb-membership-checker-test.yml b/.ci/unit-tests/gcb-membership-checker-test.yml index a6a4d4ea0d65..981a5cc3cce2 100644 --- a/.ci/unit-tests/gcb-membership-checker-test.yml +++ b/.ci/unit-tests/gcb-membership-checker-test.yml @@ -1,6 +1,6 @@ --- steps: - - name: 'golang:1.24' + - name: 'golang:1.25' args: - '-c' - | diff --git a/.github/actions/build-downstream/action.yml b/.github/actions/build-downstream/action.yml index fa2d9364cd21..76457b012dee 100644 --- a/.github/actions/build-downstream/action.yml +++ b/.github/actions/build-downstream/action.yml @@ -19,7 +19,7 @@ runs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | mmv1/go.mod tpgtools/go.mod diff --git a/.github/workflows/build-downstream.yml b/.github/workflows/build-downstream.yml index df6577fd4605..38c90a5e7c63 100644 --- a/.github/workflows/build-downstream.yml +++ b/.github/workflows/build-downstream.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | mmv1/go.mod tpgtools/go.mod diff --git a/.github/workflows/changelog-checker.yml b/.github/workflows/changelog-checker.yml index 21fd8efab376..71cc52aef12b 100644 --- a/.github/workflows/changelog-checker.yml +++ b/.github/workflows/changelog-checker.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | repo/tools/go-changelog/go.mod diff --git a/.github/workflows/ensure-service-team-labels.yml b/.github/workflows/ensure-service-team-labels.yml index 7ee2539d08f5..be5018405c7c 100644 --- a/.github/workflows/ensure-service-team-labels.yml +++ b/.github/workflows/ensure-service-team-labels.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | tools/issue-labeler/go.mod - name: Build issue-labeler diff --git a/.github/workflows/gofmt.yml b/.github/workflows/gofmt.yml index 3413448582a2..c50f9d52c5e8 100644 --- a/.github/workflows/gofmt.yml +++ b/.github/workflows/gofmt.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' - name: gofmt run: | GOFMT_OUTPUT="$(gofmt -l .)" diff --git a/.github/workflows/magician-commands.yml b/.github/workflows/magician-commands.yml index 32d3e53023d4..bafb9b0b6740 100644 --- a/.github/workflows/magician-commands.yml +++ b/.github/workflows/magician-commands.yml @@ -32,7 +32,7 @@ jobs: if: steps.read-comment.outputs.match != '' uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | .ci/magician/go.mod diff --git a/.github/workflows/request-reviewer.yml b/.github/workflows/request-reviewer.yml index 170dfd6f0334..db075a41795b 100644 --- a/.github/workflows/request-reviewer.yml +++ b/.github/workflows/request-reviewer.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | .ci/magician/go.mod - name: Build magician diff --git a/.github/workflows/scheduled-pr-reminders.yml b/.github/workflows/scheduled-pr-reminders.yml index a85e1e265406..b73a60647b62 100644 --- a/.github/workflows/scheduled-pr-reminders.yml +++ b/.github/workflows/scheduled-pr-reminders.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | .ci/magician/go.mod - name: Build magician diff --git a/.github/workflows/test-tgc.yml b/.github/workflows/test-tgc.yml index 6eeefdcaddf5..98bf5ce12031 100644 --- a/.github/workflows/test-tgc.yml +++ b/.github/workflows/test-tgc.yml @@ -81,7 +81,7 @@ jobs: if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }} uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' - name: Build Terraform Google Conversion if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }} run: | diff --git a/.github/workflows/test-tpg.yml b/.github/workflows/test-tpg.yml index 7bc12e314103..ac3fd4015a6d 100644 --- a/.github/workflows/test-tpg.yml +++ b/.github/workflows/test-tpg.yml @@ -77,7 +77,7 @@ jobs: if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }} uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' - name: Build Provider if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }} run: | diff --git a/.github/workflows/unit-test-magician.yml b/.github/workflows/unit-test-magician.yml index e40b7ba04d5d..4922af68cc7d 100644 --- a/.github/workflows/unit-test-magician.yml +++ b/.github/workflows/unit-test-magician.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | .ci/magician/go.mod - name: Run magician unit tests diff --git a/.github/workflows/unit-test-mmv1.yml b/.github/workflows/unit-test-mmv1.yml index 035c7b12bb33..384b760bd599 100644 --- a/.github/workflows/unit-test-mmv1.yml +++ b/.github/workflows/unit-test-mmv1.yml @@ -132,7 +132,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | repo/mmv1/go.mod diff --git a/.github/workflows/unit-test-tgc.yml b/.github/workflows/unit-test-tgc.yml index fb653cc9def2..b1d7a6e4574d 100644 --- a/.github/workflows/unit-test-tgc.yml +++ b/.github/workflows/unit-test-tgc.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | tgc/go.mod diff --git a/.github/workflows/unit-test-tools.yml b/.github/workflows/unit-test-tools.yml index bc142f3fdb0f..5fbe693000f7 100644 --- a/.github/workflows/unit-test-tools.yml +++ b/.github/workflows/unit-test-tools.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' - name: Build diff-processor with TPG run: | @@ -54,7 +54,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | tools/go-changelog/go.mod @@ -76,7 +76,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | tools/issue-labeler/go.mod @@ -98,7 +98,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | tools/template-check/go.mod @@ -120,7 +120,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' cache-dependency-path: | tools/test-reader/go.mod diff --git a/.github/workflows/unit-test-tpg.yml b/.github/workflows/unit-test-tpg.yml index 5c5959cffdcd..90a101da304a 100644 --- a/.github/workflows/unit-test-tpg.yml +++ b/.github/workflows/unit-test-tpg.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: '^1.24' + go-version: '^1.25' - name: Get dependencies run: | diff --git a/MODULE.bazel b/MODULE.bazel index 31b21dadb26c..6bc883046b8d 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,7 +3,7 @@ bazel_dep(name = "gazelle", version = "0.47.0") bazel_dep(name = "bazel_skylib", version = "1.8.2") go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") -go_sdk.download(version = "1.24.0") +go_sdk.download(version = "1.25.0") go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") go_deps.from_file(go_work = "//:go.work") diff --git a/docs/go.mod b/docs/go.mod index a987f4dca32c..2fc1d810116f 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/docs -go 1.24 +go 1.25 require ( github.com/alex-shpak/hugo-book/v12 v12.0.1-0.20250927134827-c58c73a59c10 // indirect diff --git a/mmv1/go.mod b/mmv1/go.mod index df2ea4901f4f..923d589cbd2b 100644 --- a/mmv1/go.mod +++ b/mmv1/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/mmv1 -go 1.24.0 +go 1.25.0 require ( golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 diff --git a/mmv1/third_party/terraform/.go-version b/mmv1/third_party/terraform/.go-version index 3900bcd9fd59..5e2b95002760 100644 --- a/mmv1/third_party/terraform/.go-version +++ b/mmv1/third_party/terraform/.go-version @@ -1 +1 @@ -1.24 +1.25 diff --git a/mmv1/third_party/terraform/go.mod b/mmv1/third_party/terraform/go.mod index 1ebc7cc92c8a..f9ab80b89e94 100644 --- a/mmv1/third_party/terraform/go.mod +++ b/mmv1/third_party/terraform/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/terraform-provider-google -go 1.24.0 +go 1.25.0 require ( cloud.google.com/go/auth v0.18.1 diff --git a/mmv1/third_party/terraform/scripts/go.mod b/mmv1/third_party/terraform/scripts/go.mod index 6aed5fd56114..c08b2152e8e9 100644 --- a/mmv1/third_party/terraform/scripts/go.mod +++ b/mmv1/third_party/terraform/scripts/go.mod @@ -1,3 +1,3 @@ module github.com/hashicorp/terraform-provider-google/scripts -go 1.24 +go 1.25 diff --git a/mmv1/third_party/tgc_next/go.mod b/mmv1/third_party/tgc_next/go.mod index 02e0644af2f8..3964712671ea 100644 --- a/mmv1/third_party/tgc_next/go.mod +++ b/mmv1/third_party/tgc_next/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/terraform-google-conversion/v7 -go 1.24.0 +go 1.25.0 require ( cloud.google.com/go/storage v1.52.0 diff --git a/scripts/doctor b/scripts/doctor index f442009bbe69..c8e9b19af1b7 100755 --- a/scripts/doctor +++ b/scripts/doctor @@ -40,9 +40,9 @@ if [ $found -eq 0 ]; then else version=($(go version)) version=${version[2]} - if [[ "$version" < "go1.24.0" ]]; then + if [[ "$version" < "go1.25.0" ]]; then exitcode=1 - warn "yel" " $version is installed, but go 1.24 or later is required. See https://golang.org/doc/install for information on installing it." + warn "yel" " $version is installed, but go 1.25 or later is required. See https://golang.org/doc/install for information on installing it." fi if [[ -z "${GOPATH}" ]]; then exitcode=1 diff --git a/tools/diff-processor/go.mod b/tools/diff-processor/go.mod index c276cf9d3bc2..18fa3266509e 100644 --- a/tools/diff-processor/go.mod +++ b/tools/diff-processor/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/tools/diff-processor -go 1.24 +go 1.25 replace google/provider/old => ./old diff --git a/tools/go-changelog/go.mod b/tools/go-changelog/go.mod index 67389a560536..7b8ff7403a6c 100644 --- a/tools/go-changelog/go.mod +++ b/tools/go-changelog/go.mod @@ -1,8 +1,6 @@ module github.com/hashicorp/go-changelog -go 1.24.0 - -toolchain go1.24.8 +go 1.25.0 require ( github.com/go-git/go-billy/v5 v5.6.2 diff --git a/tools/issue-labeler/go.mod b/tools/issue-labeler/go.mod index 1d17d612a201..a915299bd86d 100644 --- a/tools/issue-labeler/go.mod +++ b/tools/issue-labeler/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/tools/issue-labeler -go 1.24 +go 1.25 require ( github.com/golang/glog v1.1.1 diff --git a/tools/teamcity-diff-check/go.mod b/tools/teamcity-diff-check/go.mod index d85f75df0e87..437643ac876d 100644 --- a/tools/teamcity-diff-check/go.mod +++ b/tools/teamcity-diff-check/go.mod @@ -1,3 +1,3 @@ module github.com/GoogleCloudPlatform/magic-modules/tools/teamcity-diff-check -go 1.24 +go 1.25 diff --git a/tools/teamcity-generator/go.mod b/tools/teamcity-generator/go.mod index 903036c97b6e..7bcc6b870610 100644 --- a/tools/teamcity-generator/go.mod +++ b/tools/teamcity-generator/go.mod @@ -1,5 +1,5 @@ module github.com/GoogleCloudPlatform/magic-modules/tools/teamcity-generator -go 1.24 +go 1.25 require golang.org/x/text v0.11.0 diff --git a/tools/template-check/go.mod b/tools/template-check/go.mod index 409d1d899515..1237d7cbf4e5 100644 --- a/tools/template-check/go.mod +++ b/tools/template-check/go.mod @@ -1,7 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/tools/template-check -go 1.24.0 - +go 1.25.0 require ( github.com/google/go-cmp v0.7.0 diff --git a/tools/test-reader/go.mod b/tools/test-reader/go.mod index cb90303f2faa..60fb219d3474 100644 --- a/tools/test-reader/go.mod +++ b/tools/test-reader/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/tools/test-reader -go 1.24 +go 1.25 require ( github.com/hashicorp/hcl/v2 v2.20.1 diff --git a/tpgtools/go.mod b/tpgtools/go.mod index ec973aa6983a..59b91b78bcc0 100644 --- a/tpgtools/go.mod +++ b/tpgtools/go.mod @@ -1,6 +1,6 @@ module github.com/GoogleCloudPlatform/magic-modules/tpgtools -go 1.24 +go 1.25 require ( bitbucket.org/creachadair/stringset v0.0.11