update go 1.24.6 (#5959)

* update go 1.24.6

* fix non-constant format string error

* update golang.org/x/tools@v0.36.0 and github.com/golangci/golangci-lint@v1.64.8 to pass execute golangci-lint

* add a verpose diff output to prow test

* remove pluginator binary version from generated files
This commit is contained in:
yugo kobayashi
2025-08-18 05:05:12 +09:00
committed by GitHub
parent b581903858
commit 87d0629bd1
157 changed files with 1182 additions and 1370 deletions

View File

@@ -335,7 +335,7 @@ metadata:
// These two lines are similar to calling os.MkdirTemp, but we don't actually create any directory.
rand.Seed(time.Now().Unix())
path := filepath.Join(os.TempDir(), fmt.Sprintf("kyaml-test%d", rand.Int31())) //nolint:gosec
path := filepath.Join(os.TempDir(), fmt.Sprintf("kyaml-test%d", rand.Int31()))
require.NoError(t, mockFS.MkdirAll(filepath.Join(path, "a")))
return path, node1, node2, node3, func() { require.NoError(t, mockFS.RemoveAll(path)) }
}