paketo-buildpacks / jammy-tiny-stack

Tiny (minimal) stack for Ubuntu 2022.04: Jammy Jellyfish
Apache License 2.0
5 stars 10 forks source link

Updates go mod toolchain version to 1.22.4 #157

Open paketo-bot opened 3 months ago

robdimsdale commented 3 months ago

Need to switch CI to use stable version of golang - it's current pinned to an old version.

pacostas commented 3 months ago

Need to switch CI to use stable version of golang - it's current pinned to an old version.

+1 for that. Should we also create a script that will also upgrade the uses: actions/setup-go from @v3 to @v5 ? I think a simple find string uses: actions/setup-go@v* and replace with uses: actions/setup-go@v5 will be ok.

pacostas commented 3 months ago

Or even better with dependabot https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#github-actions

robdimsdale commented 3 months ago

@pacostas I think if we make changes in the shared github-config it shouldn't be too hard to find-and-replace go-version: .* with go-version: 'stable' in that one repo.

I'm open to using github-actions to bump versions, but I've run into breaking changes in the past when bumping versions, so my default is not to do that automatically (cc @sophiewigmore with the upload/download artifact action).

robdimsdale commented 3 months ago

Also in case you missed it, there's a discussion here: https://github.com/orgs/paketo-buildpacks/discussions/283

sophiewigmore commented 3 months ago

FYI this buildpack doesn't get the following github-config updates due to the ARM64-specific workflows we have here. Once we roll out ARM64 support to all stacks (which can do anytime I think), we can remove these from the .syncignore: