Skip to content

Commit 3c5836e

Browse files
build: update bazel to 4.0.0 (#21722)
Update bazel to the latest version (4.0.0).
1 parent 51bad96 commit 3c5836e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.6.0
1+
4.0.0

WORKSPACE

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ http_archive(
2929
load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "node_repositories", "yarn_install")
3030

3131
# The minimum bazel version to use with this repo is v3.1.0.
32-
check_bazel_version("3.1.0")
32+
check_bazel_version("4.0.0")
3333

3434
node_repositories(
3535
node_repositories = {
@@ -97,9 +97,12 @@ sass_repositories()
9797
# Bring in bazel_toolchains for RBE setup configuration.
9898
http_archive(
9999
name = "bazel_toolchains",
100-
sha256 = "4fb3ceea08101ec41208e3df9e56ec72b69f3d11c56629d6477c0ff88d711cf7",
101-
strip_prefix = "bazel-toolchains-3.6.0",
102-
url = "https://github.com/bazelbuild/bazel-toolchains/archive/3.6.0.tar.gz",
100+
sha256 = "1adf5db506a7e3c465a26988514cfc3971af6d5b3c2218925cd6e71ee443fc3f",
101+
strip_prefix = "bazel-toolchains-4.0.0",
102+
urls = [
103+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.0.0/bazel-toolchains-4.0.0.tar.gz",
104+
"https://github.com/bazelbuild/bazel-toolchains/releases/download/4.0.0/bazel-toolchains-4.0.0.tar.gz",
105+
],
103106
)
104107

105108
load("@bazel_toolchains//repositories:repositories.bzl", bazel_toolchains_repositories = "repositories")

0 commit comments

Comments
 (0)