Skip to content

Support getting Go version from go.mod #2730

@suzuki-shunsuke

Description

@suzuki-shunsuke

Feature Overview

Support getting Go version from go.mod.

Why is the feature needed?

Workaround

https://github.com/orgs/aquaproj/discussions/2609#discussioncomment-8066245

One of the workarounds is to update toolchain and go in aqua.yaml at the same time by Renovate's grouping feature.
https://docs.renovatebot.com/configuration-options/#group

Example Code

packages:
  - name: golang/go
    go_version_file: go.mod

Note

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions