Skip to content

Commit 691e468

Browse files
committed
Fix rules to work with --incompatible_auto_exec_groups
1 parent cd48714 commit 691e468

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.github/workflows/bazel7.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ common --noexperimental_check_external_repository_files
88
# but got aspect_bazel_lib@1.31.2 in the resolved dependency graph.
99
common --check_direct_dependencies=off
1010

11+
# Make sure we don't regress this.
12+
common --incompatible_auto_exec_groups
13+
1114
# Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs.
1215
# Save time on Sandbox creation and deletion when many of the same kind of action run during the
1316
# build.

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module(
99

1010
# Lower-bounds (minimum) versions for direct runtime dependencies.
1111
# Do not bump these unless rules_js requires a newer version to function.
12-
bazel_dep(name = "aspect_bazel_lib", version = "2.8.1")
12+
bazel_dep(name = "aspect_bazel_lib", version = "2.9.2")
1313
bazel_dep(name = "bazel_features", version = "1.9.0")
1414
bazel_dep(name = "bazel_skylib", version = "1.5.0")
1515
bazel_dep(name = "platforms", version = "0.0.5")

e2e/bzlmod/other_module/MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module(name = "other_module")
22

3+
bazel_dep(name = "aspect_bazel_lib", version = "2.9.2")
34
bazel_dep(name = "aspect_rules_js", version = "0.0.0")
45

56
npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm")

npm/private/npm_package_store.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def _npm_package_store_impl(ctx):
238238
"--directory",
239239
package_store_directory.path,
240240
],
241+
toolchain = "@aspect_bazel_lib//lib:tar_toolchain_type",
241242
mnemonic = "NpmPackageExtract",
242243
progress_message = "Extracting npm package {}@{}".format(package, version),
243244
)

0 commit comments

Comments
 (0)