Skip to content

Commit 52568df

Browse files
authored
Upgrade rules_go -> 0.35.0, sdk -> 1.18.2 (#281)
* Bump rules_go to 0.35.0 * Bump golang.org/x/sys to latest * Upgrade go sdk to 1.18.2
1 parent 927c7da commit 52568df

192 files changed

Lines changed: 25938 additions & 4363 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ load(
112112

113113
go_rules_dependencies()
114114

115-
go_register_toolchains(version = "1.16.2")
115+
go_register_toolchains(version = "1.18.2")
116116
```
117117

118118
> Standard biolerplate for `@io_bazel_rules_go`.
@@ -392,7 +392,7 @@ potential conflicts with other possible gazelle extensions, using the name
392392
The core of `stackb/rules_proto` contains two build rules:
393393

394394
| Rule | Description |
395-
| --------------- | ------------------------------------------------------- |
395+
|-----------------|---------------------------------------------------------|
396396
| `proto_compile` | Executes the `protoc` tool. |
397397
| `proto_plugin` | Provides static `protoc` plugin-specific configuration. |
398398

@@ -764,7 +764,7 @@ The plugin name is an opaque string, but by convention they are maven-esqe
764764
artifact identifiers that follow a GitHub org/repo/plugin_name convention.
765765

766766
| Plugin |
767-
| ---------------------------------------------------------------------------------------------------------------------- |
767+
|------------------------------------------------------------------------------------------------------------------------|
768768
| [builtin:cpp](pkg/plugin/builtin/cpp_plugin.go) |
769769
| [builtin:csharp](pkg/plugin/builtin/csharp_plugin.go) |
770770
| [builtin:java](pkg/plugin/builtin/java_plugin.go) |
@@ -800,7 +800,7 @@ The rule name is an opaque string, but by convention they are maven-esqe
800800
artifact identifiers that follow a GitHub org/repo/rule_name convention.
801801

802802
| Plugin |
803-
| ------------------------------------------------------------------------------------------------- |
803+
|---------------------------------------------------------------------------------------------------|
804804
| [stackb:rules_proto:grpc_cc_library](pkg/rule/rules_cc/grpc_cc_library.go) |
805805
| [stackb:rules_proto:grpc_closure_js_library](pkg/rule/rules_closure/grpc_closure_js_library.go) |
806806
| [stackb:rules_proto:grpc_java_library](pkg/rule/rules_java/grpc_java_library.go) |

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ load(
7676

7777
go_rules_dependencies()
7878

79-
go_register_toolchains(version = "1.16.2")
79+
go_register_toolchains(version = "1.18.2")
8080

8181
# ----------------------------------------------------
8282
# Gazelle

deps/BUILD.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,17 @@ depsgen(
9595
deps = ["//deps:io_grpc_grpc_java"],
9696
)
9797

98-
# Release: v0.28.0
99-
# TargetCommitish: release-0.28
100-
# Date: 2021-07-06 23:21:45 +0000 UTC
101-
# URL: https://github.com/bazelbuild/rules_go/releases/tag/v0.28.0
102-
# Size: 687092 (687 kB)
98+
# Release: v0.35.0
99+
# TargetCommitish: release-0.35
100+
# Date: 2022-09-11 15:59:49 +0000 UTC
101+
# URL: https://github.com/bazelbuild/rules_go/releases/tag/v0.35.0
102+
# Size: 931734 (932 kB)
103103
proto_dependency(
104104
name = "io_bazel_rules_go",
105105
repository_rule = "http_archive",
106-
sha256 = "38171ce619b2695fa095427815d52c2a115c716b15f4cd0525a88c376113f584",
107-
strip_prefix = "rules_go-0.28.0",
108-
urls = ["https://github.com/bazelbuild/rules_go/archive/v0.28.0.tar.gz"],
106+
sha256 = "cc027f11f98aef8bc52c472ced0714994507a16ccd3a0820b2df2d6db695facd",
107+
strip_prefix = "rules_go-0.35.0",
108+
urls = ["https://github.com/bazelbuild/rules_go/archive/v0.35.0.tar.gz"],
109109
visibility = ["//visibility:public"],
110110
)
111111

deps/core_deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ def io_bazel_rules_go():
1919
_maybe(
2020
http_archive,
2121
name = "io_bazel_rules_go",
22-
sha256 = "38171ce619b2695fa095427815d52c2a115c716b15f4cd0525a88c376113f584",
23-
strip_prefix = "rules_go-0.28.0",
22+
sha256 = "cc027f11f98aef8bc52c472ced0714994507a16ccd3a0820b2df2d6db695facd",
23+
strip_prefix = "rules_go-0.35.0",
2424
urls = [
25-
"https://github.com/bazelbuild/rules_go/archive/v0.28.0.tar.gz",
25+
"https://github.com/bazelbuild/rules_go/archive/v0.35.0.tar.gz",
2626
],
2727
)
2828

docs/builtins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
119119

120120
go_rules_dependencies()
121121

122-
go_register_toolchains(version = "1.16.2")
122+
go_register_toolchains(version = "1.18.2")
123123

124124
# == Gazelle ==
125125

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
3535

3636
go_rules_dependencies()
3737

38-
go_register_toolchains(version = "1.16.2")
38+
go_register_toolchains(version = "1.18.2")
3939

4040
# == Gazelle ==
4141

example/golden/builtin.WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
1717

1818
go_rules_dependencies()
1919

20-
go_register_toolchains(version = "1.16.2")
20+
go_register_toolchains(version = "1.18.2")
2121

2222
# == Gazelle ==
2323

example/golden/prebuilt.WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
2424

2525
go_rules_dependencies()
2626

27-
go_register_toolchains(version = "1.16.2")
27+
go_register_toolchains(version = "1.18.2")
2828

2929
# == Gazelle ==
3030

example/golden/testdata/builtins/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
1717

1818
go_rules_dependencies()
1919

20-
go_register_toolchains(version = "1.16.2")
20+
go_register_toolchains(version = "1.18.2")
2121

2222
# == Gazelle ==
2323

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/pmezard/go-difflib v1.0.0
1313
github.com/stretchr/testify v1.7.0
1414
go.starlark.net v0.0.0-20220328144851-d1966c6b9fcd
15-
golang.org/x/sys v0.0.0-20220513210249-45d2b4557a2a // indirect
15+
golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43 // indirect
1616
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
1717
)
1818

0 commit comments

Comments
 (0)