mirror of
https://github.com/restic/restic.git
synced 2025-12-08 06:09:56 +00:00
Merge pull request #5619 from restic/bump-go-version
bump minimum go version to 1.24
This commit is contained in:
commit
77374b5bf0
5 changed files with 8 additions and 7 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -48,10 +48,6 @@ jobs:
|
|||
go: 1.24.x
|
||||
os: ubuntu-latest
|
||||
test_fuse: true
|
||||
- job_name: Linux
|
||||
go: 1.23.x
|
||||
os: ubuntu-latest
|
||||
test_fuse: true
|
||||
|
||||
name: ${{ matrix.job_name }} Go ${{ matrix.go }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
|
|||
2
build.go
2
build.go
|
|
@ -60,7 +60,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: 23, Patch: 0}, // minimum Go version supported
|
||||
MinVersion: GoVersion{Major: 1, Minor: 24, Patch: 0}, // minimum Go version supported
|
||||
}
|
||||
|
||||
// Config configures the build.
|
||||
|
|
|
|||
5
changelog/unreleased/pull-4938
Normal file
5
changelog/unreleased/pull-4938
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Change: Update dependencies and require Go 1.24 or newer
|
||||
|
||||
We have updated all dependencies. Restic now requires Go 1.24 or newer to build.
|
||||
|
||||
https://github.com/restic/restic/pull/5619
|
||||
|
|
@ -315,7 +315,7 @@ From Source
|
|||
***********
|
||||
|
||||
restic is written in the Go programming language and you need at least
|
||||
Go version 1.23. Building restic may also work with older versions of Go,
|
||||
Go version 1.24. 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
go.mod
2
go.mod
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/restic/restic
|
||||
|
||||
go 1.23.0
|
||||
go 1.24.0
|
||||
|
||||
// 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue