chore: update to bazel 5
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 1a0fe59..b4ce110 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml
@@ -1,5 +1,5 @@ --- -bazel: 4.2.2 +bazel: 5.0.0 # Note, this will tell the user to do the wrong thing (manually run buildifer) # See https://github.com/bazelbuild/continuous-integration/issues/1161 buildifier:
diff --git a/.bazelversion b/.bazelversion index af8c8ec..0062ac9 100644 --- a/.bazelversion +++ b/.bazelversion
@@ -1 +1 @@ -4.2.2 +5.0.0
diff --git a/index.bzl b/index.bzl index c47a8c0..bb48123 100644 --- a/index.bzl +++ b/index.bzl
@@ -86,14 +86,14 @@ # against. # This version should be updated together with the version of the Bazel # in .bazelversion. This is asserted in //internal:bazel_version_test. -BAZEL_VERSION = "4.2.2" +BAZEL_VERSION = "5.0.0" # Versions of Bazel which users should be able to use. # Ensures we don't break backwards-compatibility, # accidentally forcing users to update their LTS-supported bazel. # These are the versions used when testing nested workspaces with # bazel_integration_test. -SUPPORTED_BAZEL_VERSIONS = [BAZEL_VERSION] +SUPPORTED_BAZEL_VERSIONS = ["4.2.2", BAZEL_VERSION] def check_build_bazel_rules_nodejs_version(minimum_version_string): """