Skip to content

Commit

Permalink
Bump even further
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Nov 7, 2024
1 parent 1690418 commit 42ab3a5
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ gazelle_binary(
)

go_cross_binary(
name = "gazelle_local_go1.20",
sdk_version = "1.20",
name = "gazelle_local_go1.21",
sdk_version = "1.21",
target = ":gazelle_local",
)

Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ go_sdk_dev = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk", de
go_sdk_dev.download(version = "1.23.3")

# Used by compatibility tests, keep as low as possible.
go_sdk_dev.download(version = "1.20.14")
go_sdk_dev.download(version = "1.21.13")

# Known to exist since it is instantiated by rules_go itself.
use_repo(
Expand Down
4 changes: 3 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ go_register_nogo(
nogo = "@bazel_gazelle//:nogo",
)

# Go 1.21 is needed to support the toolchain directive in go.mod, which is non-hermetically read
# by GoToolchainBinaryBuild on Windows.
# Go 1.20 is needed so support nogo's use of token.File.FileStart.
# Go 1.19 is needed for recent versions of golang.org/x/tools.
go_download_sdk(
name = "go_compat_sdk",
version = "1.20.14",
version = "1.21.13",
)

load("//:deps.bzl", "gazelle_dependencies")
Expand Down
6 changes: 3 additions & 3 deletions cmd/fetch_repo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ go_binary(
visibility = ["//visibility:public"],
)

# Verify that fetch_repo builds with Go 1.20.
# Verify that fetch_repo builds with Go 1.21.
go_cross_binary(
name = "fetch_repo_go1.20",
sdk_version = "1.20",
name = "fetch_repo_go1.21",
sdk_version = "1.21",
target = ":fetch_repo",
)

Expand Down
2 changes: 1 addition & 1 deletion tests/bcr/go_mod/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This will stop go mod from descending into this directory.
module github.com/bazelbuild/bazel-gazelle/tests/bcr/go_mod

go 1.23.2
go 1.23.3

// Validate go.mod replace directives can be properly used:
replace github.com/bmatcuk/doublestar/v4 => github.com/bmatcuk/doublestar/v4 v4.7.1
Expand Down
2 changes: 1 addition & 1 deletion tests/bcr/go_work/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/bazelbuild/bazel-gazelle/tests/bcr/go_work

go 1.23.2
go 1.23.3
2 changes: 1 addition & 1 deletion tests/bcr/go_work/go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21
go 1.23.3

use (
.
Expand Down
2 changes: 1 addition & 1 deletion tests/bcr/go_work/pkg/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bazelbuild/bazel-gazelle/tests/bcr/go_work/pkg

go 1.21.5
go 1.23.3

require (
example.org/hello v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion tests/bcr/go_work/proto/go.mod
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module github.com/bazelbuild/bazel-gazelle/tests/bcr/go_work/proto
go 1.21.5
go 1.23.3
2 changes: 1 addition & 1 deletion tests/bcr/go_work/test_dep/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bazelbuild/bazel-gazelle/tests/bcr/go_work/test_dep

go 1.21.5
go 1.23.3

require github.com/stretchr/testify v1.8.4

Expand Down
2 changes: 1 addition & 1 deletion tests/bcr/go_work/tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bazelbuild/bazel-gazelle/tests/bcr/go_work/tools

go 1.21.0
go 1.23.3

require (
github.com/99designs/gqlgen v0.17.40
Expand Down

0 comments on commit 42ab3a5

Please sign in to comment.