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

Upgrade golang to v1.16 #3233

Merged
merged 5 commits into from
Mar 16, 2021
Merged

Upgrade golang to v1.16 #3233

merged 5 commits into from
Mar 16, 2021

Commits on Mar 8, 2021

  1. Upgrade golang to v1.16

    Allows use of the new embed feature.
    mctofu committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    6b08218 View commit details
    Browse the repository at this point in the history
  2. Renamed packages cause DependencyFileNotResolvable with go 1.16

    Previously this error was only occuring with `go mod tidy` and was being
    ignored. With go 1.16 the error is triggered during `go get` so we need to
    handle it again.
    
    Distinguishing the error from GitDependenciesNotReachable also took some
    extra effort. The error message has changed from:
    github.com/dependabot/vgotest imports
    	github.com/googleapis/gnostic/OpenAPIv2: module github.com/googleapis/gnostic@latest found (v0.5.1), but does not contain package github.com/googleapis/gnostic/OpenAPIv2
    
    to:
    github.com/dependabot/vgotest imports
            github.com/googleapis/gnostic/OpenAPIv2: cannot find module providing package github.com/googleapis/gnostic/OpenAPIv2
    
    We now use `go list` to check that github.com/googleapis/gnostic is a
    reachable repo/module.
    mctofu committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    f94051a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d72d70 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Bump to golang 1.16.2

    mctofu committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    a8cc8b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    4f51eda View commit details
    Browse the repository at this point in the history