Upgrade Go version to 1.20 (#2898)

* chore: Upgrade Go version

* fix: Upgrade golangci-lint to support 1.20

* fix: Don't use t.SetEnv in parallel tests

This is a panic in Go 1.20 and it sounds like a recipe
for distaster in general.
This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2023-02-10 11:16:03 -05:00
1 parent 9dcf605251
commit 4146c0c55d
4 files changed
+2 -4

No files matched your search

-1
View File
@@ -426,7 +426,6 @@ func TestServer_AddEventerToContext(t *testing.T) {
}
func TestSetupWorkerPublicAddress(t *testing.T) {
t.Parallel()
tests := []struct {
name string
inputConfig *config.Config