Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0s are ignored at the end of version numbers #364

Closed
3 tasks
bbp-brieuc opened this issue Mar 31, 2023 · 2 comments
Closed
3 tasks

0s are ignored at the end of version numbers #364

bbp-brieuc opened this issue Mar 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bbp-brieuc
Copy link

Description:
go-version: 1.20 results in installing go 1.2 instead of 1.20

Action version:
v2

Platform:

  • [ x] Ubuntu
  • macOS
  • Windows

Runner type:

  • [ x] Hosted
  • Self-hosted

Tools version:
1.20.2

Repro steps:
specify go version 1.20 and use functionality that was implemented after 1.2 (eg: context.Context.Cause), it won't compile

Expected behavior:
Install go 1.20 instead of 1.2

Actual behavior:
Installation of go 1.2 instead of 1.20

@bbp-brieuc bbp-brieuc added bug Something isn't working needs triage labels Mar 31, 2023
@ziyixi
Copy link

ziyixi commented Apr 1, 2023

I have also found the same problem. Using go-version: '>=1.20.0' can temporarily solve this issue.

@dmitry-shibanov
Copy link
Contributor

Hello everyone. Thank you for your report. Could you please refer to this #326 (comment) to solve the issue. For now I'm closing it as a duplicate.

@dmitry-shibanov dmitry-shibanov closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants