From 01adee75544dca750d929fdbf9cde0c9b70b5c4d Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 8 Jan 2021 12:17:09 +0000 Subject: [PATCH] build: raise minimum go version to go1.12 --- .github/workflows/build.yml | 7 +------ docs/content/install.md | 2 +- fs/versioncheck.go | 6 +++--- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e27a0e7a..739a12130 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - job_name: ['linux', 'mac', 'windows_amd64', 'windows_386', 'other_os', 'go1.11', 'go1.12', 'go1.13', 'go1.14'] + job_name: ['linux', 'mac', 'windows_amd64', 'windows_386', 'other_os', 'go1.12', 'go1.13', 'go1.14'] include: - job_name: linux @@ -69,11 +69,6 @@ jobs: compile_all: true deploy: true - - job_name: go1.11 - os: ubuntu-latest - go: '1.11.x' - quicktest: true - - job_name: go1.12 os: ubuntu-latest go: '1.12.x' diff --git a/docs/content/install.md b/docs/content/install.md index 3afc065b7..d4f665fd9 100644 --- a/docs/content/install.md +++ b/docs/content/install.md @@ -181,7 +181,7 @@ kill %1 ## Install from source ## -Make sure you have at least [Go](https://golang.org/) 1.11 +Make sure you have at least [Go](https://golang.org/) 1.12 installed. [Download go](https://golang.org/dl/) if necessary. The latest release is recommended. Then diff --git a/fs/versioncheck.go b/fs/versioncheck.go index 8bced1348..6116dd99c 100644 --- a/fs/versioncheck.go +++ b/fs/versioncheck.go @@ -1,7 +1,7 @@ -//+build !go1.11 +//+build !go1.12 package fs -// Upgrade to Go version 1.11 to compile rclone - latest stable go +// Upgrade to Go version 1.12 to compile rclone - latest stable go // compiler recommended. -func init() { Go_version_1_11_required_for_compilation() } +func init() { Go_version_1_12_required_for_compilation() }