Skip to content

Commit

Permalink
go_sdk: upgrade to 1.22.1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sluongng committed Mar 22, 2024
1 parent ed17796 commit 3b29edc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_download_sdk", "go_register_toolchai

go_rules_dependencies()

GO_SDK_VERSION = "1.21.7"
GO_SDK_VERSION = "1.22.1"

# Register multiple Go SDKs so that we can perform cross-compilation remotely.
# i.e. We might want to trigger a Linux AMD64 Go build remotely from a MacOS ARM64 laptop.
Expand Down
13 changes: 1 addition & 12 deletions buildbuddy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ actions:
- "*"
bazel_commands:
- test //... --config=linux-workflows --config=race --test_tag_filters=-performance,-webdriver,-docker,-bare
- name: Test with static
container_image: ubuntu-20.04
triggers:
push:
branches:
- "master"
pull_request:
branches:
- "*"
bazel_commands:
- test //... --config=linux-workflows --config=race --config=static --test_tag_filters=-performance,-webdriver,-docker,-bare
- name: Check style
container_image: ubuntu-20.04
triggers:
Expand Down Expand Up @@ -110,7 +99,7 @@ actions:
branches:
- "*"
bazel_commands:
- test //... --host_platform=//:many_layered_image --config=linux-workflows --config=race --config=static --test_tag_filters=-performance,-webdriver,-docker,-bare
- test //... --host_platform=//:many_layered_image --config=linux-workflows --config=race --test_tag_filters=-performance,-webdriver,-docker,-bare

plugins:
- path: cli/plugins/go-deps
Expand Down

0 comments on commit 3b29edc

Please sign in to comment.