diff --git a/.golangci.yaml b/.golangci.yaml index e6ebc75f2..a656dd3ea 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,5 +1,5 @@ run: - go: "1.22" + go: "1.23" timeout: 5m linters: enable: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 580e0a3d7..076f9bd51 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ By participating in this project, you agree to abide our Prerequisites: - [Task](https://taskfile.dev/installation) -- [Go 1.22+](https://go.dev/doc/install) +- [Go 1.23+](https://go.dev/doc/install) Other things you might need to run the tests: diff --git a/cmd/util_test.go b/cmd/util_test.go index db54dd4f7..e754fa394 100644 --- a/cmd/util_test.go +++ b/cmd/util_test.go @@ -62,7 +62,7 @@ func goModInit(tb testing.TB) { tb.Helper() createFile(tb, "go.mod", `module foo -go 1.22 +go 1.23 `) } diff --git a/go.mod b/go.mod index cc647e14c..3479b6e9b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/goreleaser/goreleaser/v2 -go 1.22.5 +go 1.23.0 require ( code.gitea.io/sdk/gitea v0.19.0 diff --git a/internal/pipe/gomod/gomod_proxy_test.go b/internal/pipe/gomod/gomod_proxy_test.go index e97abe608..5afd06a62 100644 --- a/internal/pipe/gomod/gomod_proxy_test.go +++ b/internal/pipe/gomod/gomod_proxy_test.go @@ -284,7 +284,7 @@ func requireGoMod(tb testing.TB) { require.NoError(tb, err) require.Contains(tb, string(mod), `module foo -go 1.2`) +go 1.23`) } func fakeGoModAndSum(tb testing.TB, module string) { diff --git a/internal/pipe/ko/testdata/app/go.mod b/internal/pipe/ko/testdata/app/go.mod index dda7ff028..cceed782a 100644 --- a/internal/pipe/ko/testdata/app/go.mod +++ b/internal/pipe/ko/testdata/app/go.mod @@ -1,3 +1,3 @@ module testapp -go 1.22 +go 1.23.0 diff --git a/www/docs/contributing.md b/www/docs/contributing.md index 580e0a3d7..076f9bd51 100644 --- a/www/docs/contributing.md +++ b/www/docs/contributing.md @@ -10,7 +10,7 @@ By participating in this project, you agree to abide our Prerequisites: - [Task](https://taskfile.dev/installation) -- [Go 1.22+](https://go.dev/doc/install) +- [Go 1.23+](https://go.dev/doc/install) Other things you might need to run the tests: diff --git a/www/docs/install.md b/www/docs/install.md index 9b1899d52..4567e5f7f 100644 --- a/www/docs/install.md +++ b/www/docs/install.md @@ -258,7 +258,7 @@ apk add --allow-untrusted goreleaser*.apk go install github.com/goreleaser/goreleaser/v2@latest ``` - Requires Go 1.22. + Requires Go 1.23. === "Pro"