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

@@ -121,7 +121,7 @@ func AddGenerateDockerfile(cmd *cobra.Command) {
Use: "gen [DIR]",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
if err := os.WriteFile(filepath.Join(args[0], "Dockerfile"), []byte(`FROM public.ecr.aws/docker/library/golang:1.22.7-bullseye as builder
if err := os.WriteFile(filepath.Join(args[0], "Dockerfile"), []byte(`FROM public.ecr.aws/docker/library/golang:1.24.6-bullseye as builder
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod go.sum ./

View File

@@ -41,7 +41,7 @@ func TestCommand_dockerfile(t *testing.T) {
t.FailNow()
}
expected := `FROM public.ecr.aws/docker/library/golang:1.22.7-bullseye as builder
expected := `FROM public.ecr.aws/docker/library/golang:1.24.6-bullseye as builder
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod go.sum ./