2023-11-09 14:17:14 -05:00
# Bump Go version
2024-05-08 05:34:31 -04:00
2023-11-09 14:17:14 -05:00
`govulncheck` from the bazel `check` target will fail if our code is vulnerable, which is often the case when a patch version was released with security fixes.
## Steps
2024-01-05 05:52:22 -05:00
Replace "1.xx.x" with the new version in [WORKSPACE.bazel ](/WORKSPACE.bazel ):
2023-11-09 14:17:14 -05:00
2024-01-05 05:52:22 -05:00
```starlark
2024-05-08 05:34:31 -04:00
load("@io_bazel_rules_go//go:deps.bzl", "go_download_sdk", "go_register_toolchains", "go_rules_dependencies")
go_download_sdk(
name = "go_sdk",
patches = ["//3rdparty/bazel/org_golang:go_tls_max_handshake_size.patch"],
version = "1.xx.x", < --- Replace this one
~~~~~~~~
)
2024-01-05 05:52:22 -05:00
```