update the minimum required go version to 1.18

This commit is contained in:
Michael Eischer
2022-11-26 11:51:56 +01:00
parent 69a2e81bd3
commit 686b0b2a3e
7 changed files with 52 additions and 47 deletions

View File

@@ -59,7 +59,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: 15, Patch: 0}, // minimum Go version supported
MinVersion: GoVersion{Major: 1, Minor: 18, Patch: 0}, // minimum Go version supported
}
// Config configures the build.