Skip to content

Upgrade Go version to 1.24 across project files#2354

Merged
jjbustamante merged 3 commits intobuildpacks:mainfrom
yashisrani:upgrade-go1.23.3
Apr 21, 2025
Merged

Upgrade Go version to 1.24 across project files#2354
jjbustamante merged 3 commits intobuildpacks:mainfrom
yashisrani:upgrade-go1.23.3

Conversation

@yashisrani
Copy link
Contributor

@yashisrani yashisrani commented Mar 14, 2025

Summary

This PR upgrades the Go version used in the buildpacks/pack project from its current version to Go 1.24

Output

Before

  • Risk of using outdated dependencies or missing support for new Go features.

After

  • Go version upgraded to 1.24 across the project.
  • Improved performance, security, and stability.

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Resolves #2336
Resolves #2395

Signed-off-by: Yash Israni <yashisrani52@gmail.com>
@yashisrani yashisrani requested review from a team as code owners March 14, 2025 08:09
@github-actions github-actions bot added this to the 0.37.0 milestone Mar 14, 2025
@github-actions github-actions bot added the type/chore Issue that requests non-user facing changes. label Mar 14, 2025
@jjbustamante jjbustamante modified the milestones: 0.37.0, 0.38.0 Mar 14, 2025
@jjbustamante
Copy link
Member

@yashisrani could you update this PR to go 1.24? we already did an update on #2364 but I think we missed the one to update the Dockerfile. we can use your PR do that.

Dockerfile Outdated
ARG base_image=gcr.io/distroless/static

FROM golang:1.23 as builder
FROM golang:1.23.3 as builder
Copy link
Member

Choose a reason for hiding this comment

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

Could you update this one to 1.24?

Copy link
Member

@jjbustamante jjbustamante left a comment

Choose a reason for hiding this comment

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

Could you update the PR to use go 1.24?

Signed-off-by: Yash Israni <yashisrani52@gmail.com>
@yashisrani yashisrani requested a review from jjbustamante April 21, 2025 03:50
Signed-off-by: Juan Bustamante <bustamantejj@gmail.com>
@jjbustamante jjbustamante changed the title Upgrade Go version to 1.23.3 across project files Upgrade Go version to 1.24 across project files Apr 21, 2025
@jjbustamante jjbustamante enabled auto-merge April 21, 2025 16:55
@jjbustamante jjbustamante merged commit 4395547 into buildpacks:main Apr 21, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/chore Issue that requests non-user facing changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade buildpacks/pack to go1.24.4 Upgrade buildpacks/pack to go1.23.3

2 participants