mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
feat: use go 1.22 (#4614)
- use go 1.22 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
4b57e61514
commit
e43604f4a0
@ -1,5 +1,5 @@
|
||||
run:
|
||||
go: "1.21"
|
||||
go: "1.22"
|
||||
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.21+](https://go.dev/doc/install)
|
||||
- [Go 1.22+](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.21
|
||||
go 1.22
|
||||
`)
|
||||
}
|
||||
|
||||
|
@ -289,7 +289,7 @@ func requireGoMod(tb testing.TB) {
|
||||
require.NoError(tb, err)
|
||||
require.Contains(tb, string(mod), `module foo
|
||||
|
||||
go 1.21`)
|
||||
go 1.22`)
|
||||
}
|
||||
|
||||
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.21
|
||||
go 1.22
|
||||
|
@ -180,7 +180,7 @@ Once you do that, you can install the packages.
|
||||
go install github.com/goreleaser/goreleaser@latest
|
||||
```
|
||||
|
||||
Requires Go 1.21.
|
||||
Requires Go 1.22.
|
||||
|
||||
### bash script
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user