mirror of
https://github.com/restic/restic.git
synced 2026-02-17 06:23:56 +00:00
Merge pull request #5619 from restic/bump-go-version
bump minimum go version to 1.24
This commit is contained in:
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.
|
||||
|
||||
Reference in New Issue
Block a user