We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d29d060 + 7e96eaa commit 43453feCopy full SHA for 43453fe
go/extractor/cli/go-autobuilder/go-autobuilder.go
@@ -800,6 +800,9 @@ func installDependenciesAndBuild() {
800
// Go tooling should install required Go versions as needed.
801
if semver.Compare(getEnvGoSemVer(), "v1.21.0") < 0 && goVersionInfo.Found && semver.Compare("v"+goVersionInfo.Version, getEnvGoSemVer()) > 0 {
802
diagnostics.EmitNewerGoVersionNeeded()
803
+ if val, _ := os.LookupEnv("GITHUB_ACTIONS"); val == "true" {
804
+ 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")
805
+ }
806
}
807
808
fixGoVendorIssues(&buildInfo, goVersionInfo.Found)
0 commit comments