bump minimum go version to 1.22

This commit is contained in:
Michael Eischer
2025-02-02 15:05:47 +01:00
parent 536ebefff4
commit d71ddfb89b
5 changed files with 9 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ var config = Config{
Main: "./cmd/restic", // package name for the main package
DefaultBuildTags: []string{"selfupdate"}, // specify build tags which are always used
Tests: []string{"./..."}, // tests to run
MinVersion: GoVersion{Major: 1, Minor: 21, Patch: 0}, // minimum Go version supported
MinVersion: GoVersion{Major: 1, Minor: 22, Patch: 0}, // minimum Go version supported
}
// Config configures the build.