svix-cli icon indicating copy to clipboard operation
svix-cli copied to clipboard

bump minimum version of go used to build cli

Open techknowlogick opened this issue 2 years ago • 4 comments

Due to the CLI setting go.mod to go1.16 building the CLI fails due to modules requiring a newer version of go.

Errors received:

# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_darwin.go:95:8: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)

This PR is the result of bumping go.mod to go1.17, and running go mod tidy

Note: I am running into this error because I am attempting to package the CLI for NixOS, which has a specific way of building software to ensure reproducible builds.

techknowlogick avatar Oct 23 '23 04:10 techknowlogick

Thanks, the team will take a look!

tasn avatar Oct 23 '23 13:10 tasn

Hi @tasn, would you, or someone else at svix, be able to poke at this PR?

techknowlogick avatar Aug 03 '24 05:08 techknowlogick