Skip to content

TPT-4444: Fix Go version mismatch in Packer release CI workflows#440

Merged
lgarber-akamai merged 1 commit into
linode:devfrom
lgarber-akamai:TPT-4444/release-ci-version-failure
May 15, 2026
Merged

TPT-4444: Fix Go version mismatch in Packer release CI workflows#440
lgarber-akamai merged 1 commit into
linode:devfrom
lgarber-akamai:TPT-4444/release-ci-version-failure

Conversation

@lgarber-akamai
Copy link
Copy Markdown
Contributor

@lgarber-akamai lgarber-akamai commented May 15, 2026

📝 Description

This PR resolves an issue that caused the oldest support Go release version (v1.24.X) to be installed in the release CI workflow when the project's go.mod requires the latest Go version (v1.25.X).

✔️ How to Test

Example workflow run, 401 expected because workflow ran on fork: https://github.com/lgarber-akamai/packer-plugin-linode/actions/runs/25929582215/job/76219752420

@lgarber-akamai lgarber-akamai requested review from a team as code owners May 15, 2026 16:33
@lgarber-akamai lgarber-akamai added bugfix for any bug fixes in the changelog. github_actions Pull requests that update GitHub Actions code labels May 15, 2026
@lgarber-akamai lgarber-akamai requested review from Copilot, jriddle-linode and mawilk90 and removed request for a team May 15, 2026 16:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the integration-release notification GitHub Actions workflows to install the Go toolchain version declared by the repository’s go.mod, preventing CI from running with an older Go version than the module requires.

Changes:

  • Configure actions/setup-go to use go-version-file: go.mod in the tag-based integration release notification workflow.
  • Configure actions/setup-go to use go-version-file: go.mod in the manually triggered integration release notification workflow.
  • Minor formatting/spacing adjustments in both workflow files (no functional impact beyond the Go setup inputs).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/notify-integration-release-via-tag.yaml Ensures Go is installed based on go.mod before running make generate in the tag-triggered integration release notification flow.
.github/workflows/notify-integration-release-via-manual.yaml Ensures Go is installed based on go.mod before running make generate in the manual integration release notification flow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lgarber-akamai lgarber-akamai merged commit 87aa2ec into linode:dev May 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix for any bug fixes in the changelog. github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants