Staticcheck fails with error
- Dominant language
- Go
- Stars
- 11
- Forks
- 3
- Avg merge
- 7d 47m
- Merged PRs (30d)
- 1
Description
`make staticcheck`fails with the error
```bash
make staticcheck
# -: cannot import "container/list" (unexpected escape sequence in export data), possibly version skew - reinstall package (compile)
# -: cannot import "internal/cpu" (unexpected escape sequence in export data), possibly version skew - reinstall package (compile)
# -: cannot import "internal/goarch" (unknown bexport format version -1 ("u\x01\x00\x00\x00\x00\x00\x00\x003\...
```
## Steps to reproduce
Go version: `1.20` (not `1.18`)
```bash
go version
# go1.20.5 darwin/amd64
printenv | grep '^GO'
# GOROOT=/usr/local/Cellar/go/1.20.5/libexec
# GOPATH=/Users/akranga/hub/go
```
```bash
make clean
go mod vendor
go mod tidy
# wait...
make statictest
```
See error from above
## Expected behavior
Static check should be executed
## Side note
It looks like the error has been when upgraded to Go version `v1.20`. Suggesting further to use Go version `v1.20.*`
Contributor guide
Assessment
This issue has not been assessed yet.