Skip to content

go.mod specifies 1.17 but should be 1.18 #11838

Closed

Description

@scottrigby

Problem

It appears there was a regression from #10912, resulting in a mismatch between the go versions in go.mod and the circle tests, here:

helm/go.mod

Line 3 in 017785a

go 1.17

What happened

Changing go version 1.18 to 1.17 was introduced in this commit ffa19a4 (see it inline here).

There was a reason though. Note the commit comment:

fix circleci tests

Luckily, we are now finishing migrating CircleCI to GitHub Actions, in this PR #11676. We could revert go.mod back to 1.18 in that PR, but it would be scope creep for the Circle migration task. So I'm making this follow-up issue to address this separately.

Proposed fix

  • Revert go.mod back to 1.18
  • Once we fix this, use the go-version-file option in GitHub Actions, per this thread CircleCI Migration #11676 (comment). It was using this parameter that led us to find this mismatch, so it's a good idea to use it once we can.

Activity

  1. added
    bug
    on Feb 21, 2023
  2. added this to the 3.11.2 milestone on Feb 21, 2023
  3. nikzayn commented on Feb 21, 2023

    @nikzayn

    @scottrigby I am taking this up. I will once test the code as per mentioned in the proposed fix sections. Do let me know what other things I need to take care of!!

    /assign

  4. wujunwei commented on Feb 24, 2023

    @wujunwei
    Contributor

    I found it last month , but nobody answers me :( #11106 (comment)

  5. added a commit that references this issue on Feb 24, 2023
  6. joejulian commented on Feb 25, 2023

    @joejulian
    Contributor

    This is on purpose and fill be fixed by the PR whose comment explains this requirement.

    #11676 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions