You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check "validate bazelisk is working and has the correct version" bash -c "bazelisk version | grep '${bazelisk_version}'"
32
+
33
+
## This is the bazel version preinstalled in the devcontainer.
34
+
## A solid test would disable the network interface first to prevent a different version from being downloaded,
35
+
## but that requires CAP_NET_ADMIN, which is not yet added.
36
+
export USE_BAZEL_VERSION=${bazel_version}
32
37
check "validate bazel is working and has the correct version" bash -c "bazel version | grep '${bazel_version}'"
38
+
unset USE_BAZEL_VERSION
39
+
33
40
check "validate buildifier is working and has the correct version" bash -c "buildifier --version | grep '${buildifier_version}'"
34
41
check "validate starpls is working and has the correct version" bash -c "starpls version | grep '${starpls_version}'"
35
42
check "validate bazel-compile-commands is working and has the correct version" bash -c "bazel-compile-commands --version 2>&1 | grep '${bazel_compile_commands_version}'"
0 commit comments