File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,19 @@ steps:
7070 command :
7171 - |-
7272 ./scripts/golint.sh
73- - docker-compose#v3.0.0:
74- run : unit-test
75- config : docker/buildkite/docker-compose.yml
73+
74+ - label : " :golang: ensure it builds on go 1.21"
75+ artifact_paths : [ ]
76+ plugins :
77+ - kubernetes :
78+ << : *kubernetes
79+ podSpec :
80+ << : *podSpec
81+ containers :
82+ - << : *commandContainer
83+ command :
84+ - |-
85+ GOTOOLCHAIN=go1.21.1 go build ./...
7686
7787 - label : " :golang: integration-test-sticky-off"
7888 artifact_paths :
Original file line number Diff line number Diff line change 2121package workflow
2222
2323import (
24+ "fmt"
25+
2426 "github.com/uber-go/tally"
2527 "go.uber.org/zap"
2628
2729 "go.uber.org/cadence/encoded"
2830 "go.uber.org/cadence/internal"
31+
32+ "testing"
33+ "weak"
2934)
3035
36+ func init () {
37+ var s string
38+ sp := weak .Make (& s )
39+ fmt .Println (sp )
40+
41+ _ = (& testing.T {}).Context ()
42+ }
43+
3144type (
3245
3346 // ChildWorkflowFuture represents the result of a child workflow execution
You can’t perform that action at this time.
0 commit comments