Skip to content

go-version: 1.20 installs go 1.2.2 #328

@Akaame

Description

@Akaame

Description:

      - name: Setup Go
        uses: actions/setup-go@v3
        with:
          go-version: 1.20
          check-latest: true

Installs Go 1.2.2 instead of Go 1.20.0 unless you explicitly assign go-version: 1.20.0 (notice the explicit patch version at the end).

Action version:
See the yaml above

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
go 1.20

Repro steps:
Execute setup-go action with go-version: 1.20

Expected behavior:
1.20.0 to be installed

Actual behavior:
go version reports 1.2.2

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