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

Update to Go 1.20 #2252

Merged
merged 3 commits into from
Apr 8, 2024
Merged

Update to Go 1.20 #2252

merged 3 commits into from
Apr 8, 2024

Conversation

mtrmac
Copy link
Contributor

@mtrmac mtrmac commented Mar 9, 2024

After containers/image#2337 (notably go-openapi/swag@v0.22.10...v0.23.0 ), c/image will require Go 1.20 to build.

This does not yet update to that version of c/image, but that will happen soon enough.

So, update to Go 1.20, and take advantage of new standard library features.

@felipecrs
Copy link

Agreed. v1.15.0 fails to compile with go 1.19.

felipecrs added a commit to felipecrs/skopeo-bin that referenced this pull request Mar 15, 2024
Also adds some basic tests to ensure that the built binary is ok.

Refs containers/skopeo#2252
mtrmac added 3 commits April 5, 2024 17:15
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@TomSweeneyRedHat
Copy link
Member

LGTM
@cevich PTAL

@rhatdan
Copy link
Member

rhatdan commented Apr 8, 2024

LGTM

@rhatdan rhatdan merged commit a374215 into containers:main Apr 8, 2024
24 checks passed
@mtrmac mtrmac deleted the go1.20 branch April 8, 2024 13:37
@cevich
Copy link
Member

cevich commented Apr 8, 2024

golang 1.20 is fine, it's 1.21 we need to be careful with.

@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants