1
0
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:
Carlos Alexandro Becker 2024-02-09 09:57:38 -03:00 committed by GitHub
parent 4b57e61514
commit e43604f4a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
run:
go: "1.21"
go: "1.22"
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.21+](https://go.dev/doc/install)
- [Go 1.22+](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.21
go 1.22
`)
}

View File

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

View File

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

View File

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