Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go 1.20 support for testing scripts #1034

Merged
merged 5 commits into from
Mar 27, 2023
Merged

Go 1.20 support for testing scripts #1034

merged 5 commits into from
Mar 27, 2023

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Mar 27, 2023

Go 1.20 removed -i flag (was deprecated in 1.19) and make test-binary-prepare fails on Go 1.20 now. This PR fixes it.

It also uses Go 1.20 in GitHub actions now.

Additionally, it bumps staticcheck to latest version 2023.1.3

Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius marked this pull request as ready for review March 27, 2023 07:09
@Didainius Didainius removed the request for review from dataclouder March 27, 2023 07:09
@Didainius Didainius changed the title Go 1.20 support Go 1.20 support for testing scripts Mar 27, 2023
Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This PR also reminds me that we saw a parameter deprecation in goreleaser (was it --rm-dist, which will be removed around June?):
https://goreleaser.com/deprecations/

@Didainius
Copy link
Collaborator Author

Thanks! This PR also reminds me that we saw a parameter deprecation in goreleaser (was it --rm-dist, which will be removed around June?):
https://goreleaser.com/deprecations/

Yes, but this command is not used in any code in the repo, we run it manually usually so that shouldn't cause any unexpected things break.

@Didainius Didainius merged commit 1ea537e into vmware:main Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants