pulumi/scripts
Luke Hoban 46e2753d02
Require Go 1.20 for Go Programgen (#13729)
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.


8696695cdb/pkg/codegen/go/test.go (L25-L28)

Fixes #13728.
2023-08-16 04:59:07 +00:00
..
brew.sh ci: Enable goreleaser prep script to build for local os & arch 2022-09-16 09:50:10 -07:00
get-job-matrix.py Temporarily bump Windows runner size to unblock merging 2023-06-21 13:13:25 -07:00
get-language-providers.sh Update pulumi-dotnet to v3.54.0 2023-02-14 10:57:46 +01:00
get-pulumi-watch.sh ci: Enable goreleaser prep script to build for local os & arch 2022-09-16 09:50:10 -07:00
get-version ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
go-test.py ci: Track code coverage 2023-06-28 13:30:13 -07:00
go-update.sh ci: Remove -compat=1.18 flags to validate that tests pass on current and minimum supported Go versions 2022-09-27 10:41:25 -07:00
go-wrapper.sh ci/build-binaries: Don't enable cgo for Darwin 2023-06-29 14:53:05 -07:00
integration_test_subsets.py Remove dotnet 2022-12-13 16:13:53 +00:00
normpath Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
prep-for-goreleaser.sh ci: Enable goreleaser prep script to build for local os & arch 2022-09-16 09:50:10 -07:00
publish_npm.sh Fix `publish_npm.sh` script to handle `GITHUB_REF` without '/' 2023-06-30 11:30:18 -07:00
pulumi-version.sh ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00
release.sh Fix mislabeling in error message of release script (#10421) 2022-08-17 10:51:03 +01:00
retry scripts/retry: set-output is deprecated 2023-03-01 14:11:23 -08:00
reversion.js Substitute ${VERSION} on Windows builds too 2018-02-20 14:37:28 -08:00
tidy.sh Require Go 1.20 for Go Programgen (#13729) 2023-08-16 04:59:07 +00:00
versions.sh ci: ensure trunk is always green 2022-09-13 13:38:14 -07:00