You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
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 thego-version
property of thesetup-go
action. TheGOVER
variable has values that are different from the Go version set in thego.mod
file at the root of the repo.Here is an example:
GOVER
is set to1.22.2
. Ingo.mod
, the go version is set to1.23.0
.Observed behavior
No response
Desired behavior
In all affected workflows:
go-version-file
with thego.mod
file from the root of the repo.go-version
property.GOVER
variable. (NOTE: theGOVER
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?
AB#14258
The text was updated successfully, but these errors were encountered: