From 97ffd84d0e3989a45c1b2139d5a7554ab25c24ea Mon Sep 17 00:00:00 2001 From: Pete Davison Date: Thu, 9 Mar 2023 19:07:05 +0000 Subject: [PATCH] chore: remove installation docs for Go 1.15 --- docs/docs/installation.md | 11 +++-------- go.mod | 4 ++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/docs/installation.md b/docs/docs/installation.md index b139500b..d14b9692 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -170,9 +170,10 @@ This installation method is community owned. ### Go Modules -First, make sure you have [Go][go] properly installed and setup. +Ensure that you have a supported version of [Go][go] properly installed and setup. You can find +the minimum required version of Go in the [go.mod](https://github.com/go-task/task/blob/master/go.mod#L3) file. -You can easily install the latest release globally by running: +You can then install the latest release globally by running: ```bash go install github.com/go-task/task/v3/cmd/task@latest @@ -184,12 +185,6 @@ Or you can install into another directory: env GOBIN=/bin go install github.com/go-task/task/v3/cmd/task@latest ``` -If using Go 1.15 or earlier, instead use: - -```bash -env GO111MODULE=on go get -u github.com/go-task/task/v3/cmd/task@latest -``` - :::tip For CI environments we recommend using the [install script](#get-the-binary) diff --git a/go.mod b/go.mod index 140936cc..aac2386c 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/go-task/task/v3 +go 1.19 + require ( github.com/Masterminds/semver/v3 v3.2.0 github.com/fatih/color v1.14.1 @@ -26,5 +28,3 @@ require ( golang.org/x/term v0.3.0 // indirect gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect ) - -go 1.19