1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-14 03:51:24 +02:00

build: use go 1.23 (#5082)

update everything to go 1.23

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-08-18 16:08:55 -03:00 committed by GitHub
parent 84f136202f
commit 94a8de5347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
run:
go: "1.22"
go: "1.23"
timeout: 5m
linters:
enable:

View File

@ -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:

View File

@ -62,7 +62,7 @@ func goModInit(tb testing.TB) {
tb.Helper()
createFile(tb, "go.mod", `module foo
go 1.22
go 1.23
`)
}

2
go.mod
View File

@ -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

View File

@ -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) {

View File

@ -1,3 +1,3 @@
module testapp
go 1.22
go 1.23.0

View File

@ -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:

View File

@ -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"