compile: version "go1.16.2" does not match go tool version "go1.15.8"
See original GitHub issueFailed case: https://github.com/fatedier/release-test/runs/2121758524?check_suite_focus=true
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16.2'
Workflow file: https://github.com/fatedier/release-test/actions/runs/657671091/workflow
I’m not sure why there are go1.15.8 version.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:15 (3 by maintainers)
Top Results From Across the Web
compile: version "go1.9" does not match go ... - Stack Overflow
This is a mismatch between the GOROOT environment variable and the default path to your go command. One or the other needs to...
Read more >Getting this error: compile: version "go1.13.7" does not match ...
"The error is telling you that you have a weird mix of Go versions on top of one another, or mixed up together...
Read more >Compile: version "go1.13" does not match go tool ... - Go Forum
I am a go novice trying to build on my Mac get this error I have uninstalled go and reinstalled go via brew...
Read more >other - Go Changes
doc/go1.20: go version supports non-executable Go binariesno-owners ... cmd{cover,covdata,go}: better coverage for tests that build tools.
Read more >Release History - The Go Programming Language
For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported ... go1.16.2 (released 2021-03-11) includes fixes to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Noticed that I see this issue while using act, i could not reproduce it on the Github.
this issue can be duct-taped like:
issue I found is that
GOROOT
is appended at the end of the path, basically it will resolve system go in/usr/bin
first if not fixed