temporalio / cli

Command-line interface for running Temporal Server and interacting with Workflows, Activities, Namespaces, and other parts of Temporal
https://docs.temporal.io/cli
MIT License
251 stars 36 forks source link

Specify go compiler minor version #563

Closed dandavison closed 4 months ago

dandavison commented 4 months ago

What was changed?

Specify minor version of Go compiler

Why?

It's now required. See https://github.com/golang/go/issues/65568. Without it on MacOS I get

go: downloading go1.22 (darwin/arm64)
go: download go1.22 for darwin/arm64: toolchain not available

How did you test it?

go mod tidy && go build -o temporal ./cmd/temporal/main.go

cretz commented 4 months ago

At https://github.com/temporalio/sdk-go/pull/1466#discussion_r1598450466, a simple go mod tidy fixed this by adding toolchain. But I'm fine with this too.

dandavison commented 4 months ago

At temporalio/sdk-go#1466 (comment), a simple go mod tidy fixed this by adding toolchain. But I'm fine with this too.

cli(main) go mod tidy
go: downloading go1.22 (darwin/arm64)
go: download go1.22 for darwin/arm64: toolchain not available