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

ci: add testing using 1.17/1.18 #400

Merged
merged 3 commits into from
Apr 1, 2022
Merged

ci: add testing using 1.17/1.18 #400

merged 3 commits into from
Apr 1, 2022

Conversation

miabbott
Copy link
Member

This expands the matrix of Go versions that are being tested with each PR.

In order to support 1.17+, the build constraints had to be updated to make gofmt happy.

@miabbott miabbott marked this pull request as draft March 25, 2022 20:34
@miabbott
Copy link
Member Author

huh...i thought i tested this on the affected versions...back to the drawing board

Go 1.17 introduced the new build constraint format[1] and `gofmt` now
complains if the new constraint format isn't present when the old
format is found.

[1] https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
@lucab lucab enabled auto-merge April 1, 2022 08:56
@lucab
Copy link
Contributor

lucab commented Apr 1, 2022

Thanks for the PR! As we have a separate job for testing the minimum Go toolchain, old intermediate versions can be skipped. I added a commit on your branch to drop them. LGTM!

@lucab lucab merged commit f5f8d59 into coreos:main Apr 1, 2022
@lucab lucab changed the title ci: add testing using 1.16/1.17/1.18 ci: add testing using 1.17/1.18 Apr 1, 2022
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.

2 participants