Skip to content

Commit 3b29edc

Browse files
committed
go_sdk: upgrade to 1.22.1
Change log: https://tip.golang.org/doc/go1.22 Since musl toolchain in --config=static is not compatible with the latest Go version, disable static workflows for now. Issue is reported in uber/hermetic_cc_toolchain#171
1 parent ed17796 commit 3b29edc

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_download_sdk", "go_register_toolchai
6161

6262
go_rules_dependencies()
6363

64-
GO_SDK_VERSION = "1.21.7"
64+
GO_SDK_VERSION = "1.22.1"
6565

6666
# Register multiple Go SDKs so that we can perform cross-compilation remotely.
6767
# i.e. We might want to trigger a Linux AMD64 Go build remotely from a MacOS ARM64 laptop.

buildbuddy.yaml

+1-12
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ actions:
1010
- "*"
1111
bazel_commands:
1212
- test //... --config=linux-workflows --config=race --test_tag_filters=-performance,-webdriver,-docker,-bare
13-
- name: Test with static
14-
container_image: ubuntu-20.04
15-
triggers:
16-
push:
17-
branches:
18-
- "master"
19-
pull_request:
20-
branches:
21-
- "*"
22-
bazel_commands:
23-
- test //... --config=linux-workflows --config=race --config=static --test_tag_filters=-performance,-webdriver,-docker,-bare
2413
- name: Check style
2514
container_image: ubuntu-20.04
2615
triggers:
@@ -110,7 +99,7 @@ actions:
11099
branches:
111100
- "*"
112101
bazel_commands:
113-
- test //... --host_platform=//:many_layered_image --config=linux-workflows --config=race --config=static --test_tag_filters=-performance,-webdriver,-docker,-bare
102+
- test //... --host_platform=//:many_layered_image --config=linux-workflows --config=race --test_tag_filters=-performance,-webdriver,-docker,-bare
114103

115104
plugins:
116105
- path: cli/plugins/go-deps

0 commit comments

Comments
 (0)