From 51533de21a601e5b95ae73bd0fee8d9c6d6b2390 Mon Sep 17 00:00:00 2001 From: Gustavo Bazan Date: Wed, 15 Apr 2020 09:23:25 +0100 Subject: [PATCH] CLOUDP-60787: Unify go versions --- .drone.yml | 8 ++++---- .tool-versions | 1 + README.md | 2 +- go.mod | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .tool-versions diff --git a/.drone.yml b/.drone.yml index 2ab8ebf8af..c1a644713f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ platform: steps: - name: dependencies - image: golang:1.13 + image: golang:1.14 commands: - curl -sL https://deb.nodesource.com/setup_12.x | bash - - apt-get install -y nodejs @@ -25,7 +25,7 @@ steps: - push - name: test - image: golang:1.13 + image: golang:1.14 commands: - make test volumes: @@ -33,12 +33,12 @@ steps: path: /go - name: lint - image: golangci/golangci-lint:v1.23.6 + image: golangci/golangci-lint:v1.24.0 commands: - make lint - name: e2e - image: golang:1.13 + image: golang:1.14 commands: - make e2e-test environment: diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000000..6973eede69 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +golang 1.14 diff --git a/README.md b/README.md index d19dbab1e6..1fa24d60a4 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Ideally, you should install it somewhere in your PATH for easy use. `/usr/local/ #### Prerequisite Tools - [Git](https://git-scm.com/) -- [Go (at least Go 1.13)](https://golang.org/dl/) +- [Go (at least Go 1.14)](https://golang.org/dl/) #### Fetch and Install diff --git a/go.mod b/go.mod index effa590f62..f87aaaf57c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mongodb/mongocli -go 1.13 +go 1.14 require ( github.com/AlecAivazis/survey/v2 v2.0.5