-
Notifications
You must be signed in to change notification settings - Fork 113
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
CI: Build and test last two stable Go versions (1.16 and 1.17) #216
Conversation
The TFCache.find() function made use of t.Cleanup(), which was not available until Go 1.14.
The testTempDir() function made use of t.Cleanup(), which was not available until Go 1.14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for diligently updating all the tests!
I do not have the most up to date CircleCI context/knowledge, but it looks 👌🏻 from what I can tell.
One minor comment aside about the cmd.String()
this LGTM!
|
||
// TODO: Remove once we drop support for Go <1.15 | ||
// in favour of native t.TempDir() | ||
func TempDir(t *testing.T) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
The cmdString() function made use of Cmd.String(), which was not available until Go 1.13.
Needs #217 for
main
test fix.