Skip to content

Commit e724e5d

Browse files
authored
chore: update Go to 1.24.6 (#474)
1 parent 7eabaa4 commit e724e5d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GO_SRC_FILES := $(shell find . -type f -name '*.go' -not -name '*_test.go')
55
GO_TEST_FILES := $(shell find . -type f -not -name '*.go' -name '*_test.go')
66
GOLDEN_FILES := $(shell find . -type f -name '*.golden')
77
SHELL_SRC_FILES := $(shell find . -type f -name '*.sh')
8-
GOLANGCI_LINT_VERSION := v1.59.1
8+
GOLANGCI_LINT_VERSION := v1.64.8
99

1010
fmt: $(shell find . -type f -name '*.go')
1111
go run mvdan.cc/gofumpt@v0.6.0 -l -w .

envbuilder.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ func run(ctx context.Context, opts options.Options, execArgs *execArgsInfo) erro
194194
var cloned bool
195195
if opts.GitURL != "" {
196196
endStage := startStage("📦 Cloning %s to %s...",
197-
newColor(color.FgCyan).Sprintf(opts.GitURL),
198-
newColor(color.FgCyan).Sprintf(opts.WorkspaceFolder),
197+
newColor(color.FgCyan).Sprint(opts.GitURL),
198+
newColor(color.FgCyan).Sprint(opts.WorkspaceFolder),
199199
)
200200
stageNum := stageNumber
201201
logStage := func(format string, args ...any) {
@@ -237,8 +237,8 @@ func run(ctx context.Context, opts options.Options, execArgs *execArgsInfo) erro
237237
cloneOpts.Path = workingDir.Join("repo")
238238

239239
endStage := startStage("📦 Remote repo build mode enabled, cloning %s to %s for build context...",
240-
newColor(color.FgCyan).Sprintf(opts.GitURL),
241-
newColor(color.FgCyan).Sprintf(cloneOpts.Path),
240+
newColor(color.FgCyan).Sprint(opts.GitURL),
241+
newColor(color.FgCyan).Sprint(cloneOpts.Path),
242242
)
243243

244244
w := git.ProgressWriter(logStage)
@@ -1004,8 +1004,8 @@ func RunCacheProbe(ctx context.Context, opts options.Options) (v1.Image, error)
10041004
var cloned bool
10051005
if opts.GitURL != "" {
10061006
endStage := startStage("📦 Cloning %s to %s...",
1007-
newColor(color.FgCyan).Sprintf(opts.GitURL),
1008-
newColor(color.FgCyan).Sprintf(opts.WorkspaceFolder),
1007+
newColor(color.FgCyan).Sprint(opts.GitURL),
1008+
newColor(color.FgCyan).Sprint(opts.WorkspaceFolder),
10091009
)
10101010
stageNum := stageNumber
10111011
logStage := func(format string, args ...any) {
@@ -1045,8 +1045,8 @@ func RunCacheProbe(ctx context.Context, opts options.Options) (v1.Image, error)
10451045
cloneOpts.Path = workingDir.Join("repo")
10461046

10471047
endStage := startStage("📦 Remote repo build mode enabled, cloning %s to %s for build context...",
1048-
newColor(color.FgCyan).Sprintf(opts.GitURL),
1049-
newColor(color.FgCyan).Sprintf(cloneOpts.Path),
1048+
newColor(color.FgCyan).Sprint(opts.GitURL),
1049+
newColor(color.FgCyan).Sprint(cloneOpts.Path),
10501050
)
10511051

10521052
w := git.ProgressWriter(logStage)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/coder/envbuilder
22

3-
go 1.22.4
3+
go 1.24.6
44

55
// There are a few options we need added to Kaniko!
66
// See: https://github.com/GoogleContainerTools/kaniko/compare/main...coder:kaniko:main

0 commit comments

Comments
 (0)