From f5e58c374b0fc58d042761702bc8dc99631c5b62 Mon Sep 17 00:00:00 2001 From: Danny Zhu Date: Thu, 17 Dec 2020 10:36:07 -0800 Subject: [PATCH] chore: update to Go 1.15 (#1716) Go 1.13 went out of support when 1.15 came out a few months ago, so let's get everything bumped up. --- .circleci/config.yml | 16 ++++++++-------- CONTRIBUTING.md | 2 +- agent/go.mod | 2 +- master/go.mod | 4 ++-- proto/go.mod | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aec1cc97d5e..55ad506f644 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -706,7 +706,7 @@ jobs: package-and-push-system-local: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -732,7 +732,7 @@ jobs: package-and-push-system-dev: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -750,7 +750,7 @@ jobs: package-and-push-system-rc: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -768,7 +768,7 @@ jobs: package-and-push-system-release: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -949,7 +949,7 @@ jobs: lint-go: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -962,7 +962,7 @@ jobs: build-go: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -979,7 +979,7 @@ jobs: build-proto: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: @@ -993,7 +993,7 @@ jobs: test-unit-go: docker: - - image: cimg/go:1.13 + - image: cimg/go:1.15 environment: GO111MODULE: "on" steps: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d0569717a82..d632f06c8e8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,7 +48,7 @@ git clone git@github.com:determined-ai/determined.git #### Prerequisites -- Go (>= 1.13) +- Go (>= 1.15) - Python (>= 3.6, < 3.8) - Node (>= 12) - NPM (>= 6.12) diff --git a/agent/go.mod b/agent/go.mod index cbd6cc6ddfc..4dcc81245e6 100644 --- a/agent/go.mod +++ b/agent/go.mod @@ -1,6 +1,6 @@ module github.com/determined-ai/determined/agent -go 1.12 +go 1.15 require ( github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect diff --git a/master/go.mod b/master/go.mod index f43620b450e..36b41fbbde2 100644 --- a/master/go.mod +++ b/master/go.mod @@ -1,5 +1,7 @@ module github.com/determined-ai/determined/master +go 1.15 + require ( cloud.google.com/go v0.58.0 github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect @@ -65,5 +67,3 @@ require ( replace github.com/determined-ai/determined/proto => ../proto replace github.com/docker/docker v1.13.1 => github.com/docker/engine v1.4.2-0.20191113042239-ea84732a7725 - -go 1.13 diff --git a/proto/go.mod b/proto/go.mod index 2e8766b8aa3..7f315a6a14c 100644 --- a/proto/go.mod +++ b/proto/go.mod @@ -1,6 +1,6 @@ module github.com/determined-ai/determined/proto -go 1.13 +go 1.15 require ( github.com/bufbuild/buf v0.12.1