Skip to content

go-version: ">=1.20" with check-latest: true does not resolve to 1.20.5 #384

@silverwind

Description

@silverwind

go1.20.5 was released on 2023-06-06, but this action does not find it, even with check-latest enabled. This is problematic for us because we have govulncheck in the pipeline and all builds fail because of vulnerabilities in go1.20.4.

- uses: actions/setup-go@v4
  with:
    go-version: ">=1.20"
    check-latest: true

Run output:

Run actions/setup-go@v4
Setup go version spec >=1.20
Attempting to resolve the latest version from the manifest...
matching >=1.20...
Resolved as '1.20.4'
Found in cache @ /opt/hostedtoolcache/go/1.20.4/x64
Added go to the path
Successfully set up Go version >=1.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions