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:
parent
84f136202f
commit
94a8de5347
@ -1,5 +1,5 @@
|
||||
run:
|
||||
go: "1.22"
|
||||
go: "1.23"
|
||||
timeout: 5m
|
||||
linters:
|
||||
enable:
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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
2
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
|
||||
|
@ -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) {
|
||||
|
2
internal/pipe/ko/testdata/app/go.mod
vendored
2
internal/pipe/ko/testdata/app/go.mod
vendored
@ -1,3 +1,3 @@
|
||||
module testapp
|
||||
|
||||
go 1.22
|
||||
go 1.23.0
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user