Closed toga4 closed 1 year ago
CI seems failed. I'll check it.
It seems that io/fs
package was released in Go 1.16 (release notes), but we still use very old version, Go 1.14 in GitHub Actions. https://github.com/cloudspannerecosystem/spanner-cli/blob/6703476b4f7b8652685d922b905033d1b56ce69a/.github/workflows/run-tests.yaml#L36
Could you update run-tests.yaml file to use Go 1.16? 🙏
Thanks. I'll do it. Do I need to upgrade Go version in go.mod?
Do I need to upgrade Go version in go.mod?
Thanks! Let's update go.mod as well 🙏
Done. Now CI should be a success!
Thanks!
# golang.org/x/sys/unix
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall.go:83:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:1018:20: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:2289:9: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
note: module requires Go 1.17
Oops... let's update to Go 1.17...
Somehow go test succeeded on my machine, because I am on a Mac...? Anyway I did it ;)
Finally the test has passed! I'll merge into master.
Thank you so much for continuously fixing the problem! 🙏
This PR adds support accessing database with fine-grained access control.
CLI Option:
Syntax:
https://cloud.google.com/spanner/docs/access-with-fgac?hl=en
Resolves #146