bump minimum go version to 1.26

This commit is contained in:
Michael Eischer committed 2026-10-17 22:37:36 +02:00
1 parent e40a4a165e
commit a9d74f178e
4 files changed
+4 -9

No files matched your search

-5
View File
@@ -49,11 +49,6 @@ jobs:
os: ubuntu-latest
test_fuse: true
- job_name: Linux
go: 1.25.x
os: ubuntu-latest
test_fuse: true
name: ${{ matrix.job_name }} Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
+1 -1
View File
@@ -59,7 +59,7 @@ var config = Config{
// see https://github.com/googleapis/google-cloud-go/issues/11448
DefaultBuildTags: []string{"selfupdate", "disable_grpc_modules"}, // specify build tags which are always used
Tests: []string{"./..."}, // tests to run
MinVersion: GoVersion{Major: 1, Minor: 25, Patch: 0}, // minimum Go version supported
MinVersion: GoVersion{Major: 1, Minor: 26, Patch: 0}, // minimum Go version supported
}
// Config configures the build.
+1 -1
View File
@@ -305,7 +305,7 @@ From source
***********
restic is written in the Go programming language and you need at least
Go version 1.25. Building restic may also work with older versions of Go,
Go version 1.26. Building restic may also work with older versions of Go,
but that's not supported. See the `Getting
started <https://go.dev/doc/install>`__ guide of the Go project for
instructions how to install Go.
+2 -2
View File
@@ -1,8 +1,8 @@
module github.com/restic/restic
go 1.25.8
go 1.26.0
toolchain go1.25.10
toolchain go1.26.9
// keep the old behavior for reparse points on windows until handling reparse points has been improved in restic
// https://forum.restic.net/t/windows-junction-backup-with-go1-23-or-later/8940