diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1db9964d..7f33e06a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,3 +54,6 @@ jobs: - name: Run Validation Tooling tests run: | bazel test //validation/... + - name: Ensure correct dependency resolution + run: | + bazel mod deps --lockfile_mode=update diff --git a/MODULE.bazel b/MODULE.bazel index 951555ca..e900e735 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -34,6 +34,11 @@ bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "flatbuffers", version = "25.9.23") +# flatbuffers depends on this transitively, but older grpc-java version +# The main problem is that there the command `bazel mod deps` is broken, which +# we want and need to support for dependant modules +bazel_dep(name = "grpc-java", version = "1.75.0.bcr.1") + ############################################################################### # CC Toolchain ###############################################################################