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

Go version is inconsistent in GitHub workflows #8374

Open
1 task
brooke-hamilton opened this issue Jan 30, 2025 · 1 comment
Open
1 task

Go version is inconsistent in GitHub workflows #8374

brooke-hamilton opened this issue Jan 30, 2025 · 1 comment
Labels
bug Something is broken or not working as expected

Comments

@brooke-hamilton
Copy link
Member

brooke-hamilton commented Jan 30, 2025

Steps to reproduce

We have several GitHub workflows that install Go using the setup-go action. They use a variable named GOVER that is set at the top of each workflow, and later to set the go-version property of the setup-go action. The GOVER variable has values that are different from the Go version set in the go.mod file at the root of the repo.

Here is an example: GOVER is set to 1.22.2. In go.mod, the go version is set to 1.23.0.

Observed behavior

No response

Desired behavior

In all affected workflows:

  • Set the go-version-file with the go.mod file from the root of the repo.
  • Remove statements that set the go-version property.
  • Remove the GOVER variable. (NOTE: the GOVER variable is used in multiple actions called from the workflows.)

See the documentation for the go-version-file property here.

Consider updating the Go version in go.mod to the most recent version.

Workaround

No response

rad Version

Edge

Operating system

No response

Additional context

No response

Would you like to support us?

  • Yes, I would like to support you

AB#14258

@brooke-hamilton brooke-hamilton added the bug Something is broken or not working as expected label Jan 30, 2025
@radius-triage-bot
Copy link

👋 @brooke-hamilton Thanks for filing this bug report.

A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.

For more information on our triage process please visit our triage overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken or not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant