Skip to content

gomod does not update the go version that is defined in go.mod #9057

@sbp-bvanb

Description

@sbp-bvanb

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

gomod

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

---
version: 2
updates:
  - package-ecosystem: "gomod"
    directory: "/"
    schedule:
      interval: "daily"

Updated dependency

No response

What you expected to see, versus what you actually saw

The expectation is that the patch version of go should be updated from go 1.21.2 to go 1.21.7 and since the latest release of 1.22.0 to 1.22.0.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

Define: go 1.21.2 in a go.mod file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions