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

need to update Go #30

Closed
shogo82148 opened this issue Jun 14, 2023 · 0 comments
Closed

need to update Go #30

shogo82148 opened this issue Jun 14, 2023 · 0 comments

Comments

@shogo82148
Copy link
Contributor

see https://github.com/reviewdog/action-suggester/actions/runs/5253534837/jobs/9490984742?pr=29

#29

 go: downloading mvdan.cc/sh v1.3.1
go: downloading mvdan.cc/sh/v3 v3.6.0
go: downloading mvdan.cc/sh v2.6.4+incompatible
go: downloading github.com/google/renameio/v2 v2.0.0
go: downloading github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
go: downloading golang.org/x/term v0.3.0
go: downloading mvdan.cc/editorconfig v0.2.0
go: downloading golang.org/x/sys v0.3.0
# golang.org/x/sys/unix
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/syscall.go:83:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/syscall_linux.go:2256:9: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
note: module requires Go 1.17
# mvdan.cc/sh/v3/fileutil
Error: ../../../go/pkg/mod/mvdan.cc/sh/v3@v3.6.0/fileutil/file.go:65:24: undefined: fs.FileInfoToDirEntry
note: module requires Go 1.18
Error: Process completed with exit code 2.

We use Go 1.16 now, whether it doesn't support unsafe.Slice.
unsafe.Slice requires Go 1.17: https://pkg.go.dev/unsafe#Slice

shogo82148 added a commit that referenced this issue Jun 14, 2023
shogo82148 added a commit that referenced this issue Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant