diff --git a/.bazelrc b/.bazelrc index b3a24e8..d643db4 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1 +1,5 @@ common --experimental_enable_bzlmod + +# Disable lockfiles until it works properly. +# https://github.com/bazelbuild/bazel/issues/19068 +common --lockfile_mode=off diff --git a/.gitignore b/.gitignore index 37e27b6..e647ab2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ reports/* lexer.log parser.log bazel-* +*.bazel.lock diff --git a/MODULE.bazel b/MODULE.bazel index 6bb13b3..d72356a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -11,6 +11,7 @@ bazel_dep(name = "rules_pkg", version = "0.9.1") go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") go_deps.from_file(go_mod = "//:go.mod") +use_repo(pull, "com_github_stretchr_testify", "org_uber_go_zap") pull = use_extension("@rules_oci//oci:pull.bzl", "go_deps") pull.oci_pull( name = "distroless_base",