1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-16 03:52:12 +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: run:
go: "1.21" go: "1.22"
timeout: 5m timeout: 5m
linters: linters:
enable: enable:

View File

@ -10,7 +10,7 @@ By participating in this project, you agree to abide our
Prerequisites: Prerequisites:
- [Task](https://taskfile.dev/installation) - [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: Other things you might need to run the tests:

View File

@ -62,7 +62,7 @@ func goModInit(tb testing.TB) {
tb.Helper() tb.Helper()
createFile(tb, "go.mod", `module foo 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.NoError(tb, err)
require.Contains(tb, string(mod), `module foo require.Contains(tb, string(mod), `module foo
go 1.21`) go 1.22`)
} }
func fakeGoModAndSum(tb testing.TB, module string) { func fakeGoModAndSum(tb testing.TB, module string) {

View File

@ -1,3 +1,3 @@
module testapp 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 go install github.com/goreleaser/goreleaser@latest
``` ```
Requires Go 1.21. Requires Go 1.22.
### bash script ### bash script