Skip to content

Commit

Permalink
chore: upgrade primary Bazel version to 7.0.2 (#282)
Browse files Browse the repository at this point in the history
- Upgrade primary Bazel version to 7.0.2.
- Replace Bazel 6.4.0 with 6.5.0 for the other versions to test.
  • Loading branch information
cgrindel authored Jan 29, 2024
1 parent cc3fca8 commit fe2d11e
Show file tree
Hide file tree
Showing 12 changed files with 5,023 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.0rc4
7.0.2
4 changes: 3 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load(
"bzlformat_missing_pkgs",
"bzlformat_pkg",
)
load("@cgrindel_bazel_starlib//bzltidy:defs.bzl", "tidy")
load("@cgrindel_bazel_starlib//bzltidy:defs.bzl", "tidy", "tidy_all")
load("@cgrindel_bazel_starlib//markdown:defs.bzl", "markdown_pkg")
load(
"@cgrindel_bazel_starlib//updatesrc:defs.bzl",
Expand All @@ -22,6 +22,8 @@ bzlformat_missing_pkgs(
name = "bzlformat_missing_pkgs",
)

tidy_all(name = "tidy_all")

tidy(
name = "tidy",
targets = [
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ bazel_binaries = use_extension(
dev_dependency = True,
)
bazel_binaries.download(version_file = "//:.bazelversion")
bazel_binaries.download(version = "6.4.0")
bazel_binaries.download(version = "6.5.0")
bazel_binaries.local(path = "tools/fake_bazel.sh")
use_repo(
bazel_binaries,
"bazel_binaries",
"bazel_binaries_bazelisk",
"build_bazel_bazel_.bazelversion",
"build_bazel_bazel_6_4_0",
"build_bazel_bazel_6_5_0",
"build_bazel_bazel_local",
)

Expand Down
129 changes: 94 additions & 35 deletions MODULE.bazel.lock

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

Loading

0 comments on commit fe2d11e

Please sign in to comment.