We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84baea5 commit 90eba71Copy full SHA for 90eba71
1 file changed
go/extractor/cli/go-autobuilder/go-autobuilder.go
@@ -548,7 +548,10 @@ func installDependenciesAndBuild() {
548
if semver.Compare(getEnvGoSemVer(), "v1.21.0") < 0 && goVersionInfo.Found && semver.Compare("v"+goVersionInfo.Version, getEnvGoSemVer()) > 0 {
549
diagnostics.EmitNewerGoVersionNeeded(getEnvGoSemVer(), "v"+goVersionInfo.Version)
550
if val, _ := os.LookupEnv("GITHUB_ACTIONS"); val == "true" {
551
- log.Printf("The go.mod version is newer than the installed version of Go. Consider adding an actions/setup-go step to your workflow.\n")
+ log.Printf(
552
+ "The go.mod file requires version %s of Go, but version %s is installed. Consider adding an actions/setup-go step to your workflow.\n",
553
+ "v"+goVersionInfo.Version,
554
+ getEnvGoSemVer())
555
}
556
557
0 commit comments