Skip to content

Commit

Permalink
chore(deps): update dependency com_github_bazelbuild_buildtools to v8…
Browse files Browse the repository at this point in the history
….0.3 (#5207)

* chore(deps): update dependency com_github_bazelbuild_buildtools to v8.0.3

* bzl: add rules_shell

* bzl: upgrade protoc-gen-go-grpc

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
  • Loading branch information
renovate[bot] and johanbrandhorst authored Mar 7, 2025
1 parent e59a132 commit a59a251
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 13 deletions.
5 changes: 3 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_python", version = "1.2.0")
bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "rules_go", version = "0.53.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_shell", version = "0.4.0")
bazel_dep(name = "gazelle", version = "0.42.0", repo_name = "bazel_gazelle")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "protobuf", version = "29.3", repo_name = "com_google_protobuf")
Expand All @@ -31,8 +32,8 @@ go_deps.from_file(go_mod = ":go.mod")
# so they have to explicitly be made known to Gazelle.
go_deps.module(
path = "google.golang.org/grpc/cmd/protoc-gen-go-grpc",
sum = "h1:rNBFJjBCOgVr9pWD7rs/knKL4FRTKgpZmsRfV214zcA=",
version = "v1.3.0",
sum = "h1:F29+wU6Ee6qgu9TddPgooOdaqsxTMunOoj8KA5yuS5A=",
version = "v1.5.1",
)
go_deps.module(
path = "github.com/golang/protobuf",
Expand Down
11 changes: 6 additions & 5 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 16 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,24 @@ load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

protobuf_deps()

http_archive(
name = "rules_shell",
sha256 = "3e114424a5c7e4fd43e0133cc6ecdfe54e45ae8affa14fadd839f29901424043",
strip_prefix = "rules_shell-0.4.0",
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.4.0/rules_shell-v0.4.0.tar.gz",
)

load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")

rules_shell_dependencies()

rules_shell_toolchains()

http_archive(
name = "com_github_bazelbuild_buildtools",
sha256 = "0063f317e135481783f3dc14c82bc15e0bf873c5e9aeece63b4f94d151aeb09f",
strip_prefix = "buildtools-8.0.2",
urls = ["https://github.com/bazelbuild/buildtools/archive/v8.0.2.tar.gz"],
sha256 = "573345c2039889a4001b9933a7ebde8dcaf910c47787993aecccebc3117a4425",
strip_prefix = "buildtools-8.0.3",
urls = ["https://github.com/bazelbuild/buildtools/archive/v8.0.3.tar.gz"],
)

load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_dependencies")
Expand Down
6 changes: 3 additions & 3 deletions non_module_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ def _non_module_deps_impl(
# TODO(bazelbuild/buildtools#1204): Remove when available as module.
http_archive(
name = "com_github_bazelbuild_buildtools",
sha256 = "0063f317e135481783f3dc14c82bc15e0bf873c5e9aeece63b4f94d151aeb09f",
strip_prefix = "buildtools-8.0.2",
urls = ["https://github.com/bazelbuild/buildtools/archive/v8.0.2.tar.gz"],
sha256 = "573345c2039889a4001b9933a7ebde8dcaf910c47787993aecccebc3117a4425",
strip_prefix = "buildtools-8.0.3",
urls = ["https://github.com/bazelbuild/buildtools/archive/v8.0.3.tar.gz"],
)

non_module_deps = module_extension(
Expand Down

0 comments on commit a59a251

Please sign in to comment.