"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.24rc1 and make go1.22 the minimum required version
Nick Craig-Woodbd7278d7e9fb
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex b251e7ec3..feee119c7 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -26,12 +26,12 @@ jobs:strategy:fail-fast: falsematrix:- job_name: ['linux', 'linux_386', 'mac_amd64', 'mac_arm64', 'windows', 'other_os', 'go1.21', 'go1.22']+ job_name: ['linux', 'linux_386', 'mac_amd64', 'mac_arm64', 'windows', 'other_os', 'go1.22', 'go1.23']include:- job_name: linuxos: ubuntu-latest- go: '>=1.23.0-rc.1'+ go: '>=1.24.0-rc.1'gotags: cmountbuild_flags: '-include "^linux/"'check: true@@ -42,14 +42,14 @@ jobs:- job_name: linux_386os: ubuntu-latest- go: '>=1.23.0-rc.1'+ go: '>=1.24.0-rc.1'goarch: 386gotags: cmountquicktest: true- job_name: mac_amd64os: macos-latest- go: '>=1.23.0-rc.1'+ go: '>=1.24.0-rc.1'gotags: 'cmount'build_flags: '-include "^darwin/amd64" -cgo'quicktest: true@@ -58,14 +58,14 @@ jobs:- job_name: mac_arm64os: macos-latest- go: '>=1.23.0-rc.1'+ go: '>=1.24.0-rc.1'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.23.0-rc.1'+ go: '>=1.24.0-rc.1'gotags: cmountcgo: '0'build_flags: '-include "^windows/"'@@ -75,20 +75,20 @@ jobs:- job_name: other_osos: ubuntu-latest- go: '>=1.23.0-rc.1'+ go: '>=1.24.0-rc.1'build_flags: '-exclude "^(windows/|darwin/|linux/)"'compile_all: truedeploy: true- - job_name: go1.21+ - job_name: go1.22os: ubuntu-latest- go: '1.21'+ go: '1.22'quicktest: trueracequicktest: true- - job_name: go1.22+ - job_name: go1.23os: ubuntu-latest- go: '1.22'+ go: '1.23'quicktest: trueracequicktest: true@@ -311,7 +311,7 @@ jobs:- name: Set up Gouses: actions/setup-go@v5with:- go-version: '>=1.23.0-rc.1'+ go-version: '>=1.24.0-rc.1'- name: Set global environment variablesshell: bashdiff --git a/docs/content/install.md b/docs/content/install.mdindex d5be63cba..f3e7d8f67 100644--- a/docs/content/install.md+++ b/docs/content/install.md@@ -333,7 +333,7 @@ Note that this is controlled by [community maintainer](https://github.com/bouken## Source installation {#source}Make sure you have git and [Go](https://golang.org/) installed.-Go version 1.18 or newer is required, the latest release is recommended.+Go version 1.22 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 b26e992b7..03f65f961 100644--- a/fs/versioncheck.go+++ b/fs/versioncheck.go@@ -1,7 +1,7 @@-//go:build !go1.21+//go:build !go1.22package fs-// Upgrade to Go version 1.21 to compile rclone - latest stable go+// Upgrade to Go version 1.22 to compile rclone - latest stable go// compiler recommended.-func init() { Go_version_1_21_required_for_compilation() }+func init() { Go_version_1_22_required_for_compilation() }diff --git a/go.mod b/go.modindex 962aaea79..602bbeea7 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/rclone/rclone-go 1.21+go 1.22require (bazil.org/fuse v0.0.0-20230120002735-62a210ff1fd5