Upgrade repository to Go 1.18.
Steps taken:
1. Ran `bazel build //infra/bots/...` and had the following errors:
compilepkg: missing strict dependencies:
/private/var/tmp/.../sandbox/darwin-sandbox/781/execroot/skia/infra/bots/task_drivers/
codesize/codesize_test.go: import of "github.com/stretchr/testify/mock"
/private/var/tmp/.../sandbox/darwin-sandbox/781/execroot/skia/infra/bots/task_drivers/
codesize/codesize_test.go: import of "go.skia.org/infra/go/util"
2. Added missing dependencies to infra/bots/task_drivers/codesize/BUILD.bazel
which is included in this commit.
3. Ran `bazel build //infra/bots/...` - success.
4. Ran `go mod tidy` which resulted in no changes.
5. Ran `make -C bazel gazelle_update_repo` which resulted in no changes.
6. Ran `bazel build modules/canvaskit/go/...` - success.
Bug: skia:13605
Change-Id: Id8aa9a7d26f8849a7e602445c2b84c2586f589e2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/564923
Commit-Queue: Chris Mumford <cmumford@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2 files changed