mirror of https://github.com/pulumi/pulumi.git
46e2753d02
We added program generation that assumes availability of generics as
part of https://github.com/pulumi/pulumi/pull/13149, but didn't bump the
version of Go required in the generated go.mod. Currently, Pulumi is
supported on the supported versions of Go, which includes Go 1.20 and
1.21, so here we bump the Go version to the minimum currently supported
version, which also supports all of the code we generate today.
I was curious how this was not already failing tests, and it appears
it's because we delete the `go.mod` file in our tests and recreate it
with `go mod init`. I am unclear why we do that, but it feels like we
should not, exactly to avoid this sort of problem in the future and to
test the actual code we generate.
|
||
---|---|---|
.. | ||
brew.sh | ||
get-job-matrix.py | ||
get-language-providers.sh | ||
get-pulumi-watch.sh | ||
get-version | ||
go-test.py | ||
go-update.sh | ||
go-wrapper.sh | ||
integration_test_subsets.py | ||
normpath | ||
prep-for-goreleaser.sh | ||
publish_npm.sh | ||
pulumi-version.sh | ||
release.sh | ||
retry | ||
reversion.js | ||
tidy.sh | ||
versions.sh |