"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: update to go1.27 and make go1.26 the minimum required version
Nick Craig-Woode189f3812273
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex c15421628..b4d311c7e 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -32,12 +32,12 @@ jobs:strategy:fail-fast: falsematrix:- job_name: ['linux', 'linux_386', 'mac_amd64', 'mac_arm64', 'windows', 'other_os', 'go1.25']+ job_name: ['linux', 'linux_386', 'mac_amd64', 'mac_arm64', 'windows', 'other_os', 'go1.26']include:- job_name: linuxos: ubuntu-latest- go: '~1.26.6'+ go: '~1.27.0'gotags: cmountbuild_flags: '-include "^linux/"'check: true@@ -48,14 +48,14 @@ jobs:- job_name: linux_386os: ubuntu-latest- go: '~1.26.6'+ go: '~1.27.0'goarch: 386gotags: cmountquicktest: true- job_name: mac_amd64os: macos-latest- go: '~1.26.6'+ go: '~1.27.0'gotags: 'cmount'build_flags: '-include "^darwin/amd64" -cgo'quicktest: true@@ -64,14 +64,14 @@ jobs:- job_name: mac_arm64os: macos-latest- go: '~1.26.6'+ go: '~1.27.0'gotags: 'cmount'build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'deploy: true- job_name: windowsos: windows-latest- go: '~1.26.6'+ go: '~1.27.0'gotags: cmountcgo: '0'build_flags: '-include "^windows/"'@@ -81,14 +81,14 @@ jobs:- job_name: other_osos: ubuntu-latest- go: '~1.26.6'+ go: '~1.27.0'build_flags: '-exclude "^(windows/|darwin/|linux/)"'compile_all: truedeploy: true- - job_name: go1.25+ - job_name: go1.26os: ubuntu-latest- go: '~1.25.13'+ go: '~1.26.6'quicktest: trueracequicktest: true@@ -283,7 +283,7 @@ jobs:id: setup-gouses: actions/setup-go@v7with:- go-version: '~1.26.6'+ go-version: '~1.27.0'check-latest: truecache: false@@ -398,7 +398,7 @@ jobs:id: setup-gouses: actions/setup-go@v7with:- go-version: '~1.26.6'+ go-version: '~1.27.0'# Caching is handled explicitly below to share the module cache# with the other jobs - see the build job for the rationale.cache: falsediff --git a/docs/content/install.md b/docs/content/install.mdindex 4b69a6ba5..ced6f6ac1 100644--- a/docs/content/install.md+++ b/docs/content/install.md@@ -380,7 +380,7 @@ not the rclone developers so it may be out of date. Its current version is as be## Source installation {#source}Make sure you have git and [Go](https://golang.org/) installed.-Go version 1.25 or newer is required, the latest release is recommended.+Go version 1.26 or newer is required, the latest release is recommended.You can get it from your package manager, or download it from[golang.org/dl](https://golang.org/dl/). Then you can run the following:diff --git a/fs/versioncheck.go b/fs/versioncheck.goindex d4abd3e78..842cc8605 100644--- a/fs/versioncheck.go+++ b/fs/versioncheck.go@@ -1,7 +1,7 @@-//go:build !go1.25+//go:build !go1.26package fs-// Upgrade to Go version 1.25 to compile rclone - latest stable go+// Upgrade to Go version 1.26 to compile rclone - latest stable go// compiler recommended.-func init() { Go_version_1_25_required_for_compilation() }+func init() { Go_version_1_26_required_for_compilation() }diff --git a/go.mod b/go.modindex 59477efde..852cb594e 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/rclone/rclone-go 1.25.0+go 1.26.0godebug x509negativeserial=1