Skip to content

Commit 25b1961

Browse files
renovate[bot]jakubno
authored andcommitted
chore(deps): update dependency golangci-lint to v2.14.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jakub Novak <jakub@e2b.dev> GitOrigin-RevId: 78154aacea27d75e76a05d1f815dc4af0f538650
1 parent 739e85e commit 25b1961

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.golangci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ linters:
189189
- { disabled: true, name: line-length-limit }
190190
- { disabled: true, name: max-control-nesting }
191191
- { disabled: true, name: max-public-structs }
192+
- { disabled: true, name: multiline-if-init }
192193
- { disabled: true, name: nested-structs }
193194
- { disabled: true, name: package-comments }
194195
- { disabled: true, name: package-directory-mismatch }

‎.tool-versions‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ gcloud 534.0.0
44
go 1.26.8
55
go:golang.org/x/tools/gopls 0.21.1
66
go:github.com/vektra/mockery/v3 v3.7.0
7-
golangci-lint 2.13.2
7+
golangci-lint 2.14.0
88
protoc 34.1
99
protoc-gen-connect-go 1.19.2
1010
protoc-gen-go 1.36.11

‎packages/orchestrator/pkg/template/build/buildlogger/log_entry_logger.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package buildlogger
22

33
import (
44
"fmt"
5+
"slices"
56
"sync"
67

78
"go.uber.org/zap/zapcore"
@@ -128,7 +129,7 @@ func (c *childCore) Enabled(l zapcore.Level) bool { return c.parent.Enabled(l) }
128129
func (c *childCore) With(fields []zapcore.Field) zapcore.Core {
129130
return &childCore{
130131
parent: c.parent,
131-
with: append(append([]zapcore.Field{}, c.with...), fields...),
132+
with: slices.Concat(c.with, fields),
132133
}
133134
}
134135

‎packages/shared/pkg/storage/storage_azure_integration_test.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
"net/http"
1515
"os"
1616
"path/filepath"
17+
"slices"
1718
"testing"
1819
"time"
1920

@@ -311,7 +312,7 @@ func TestAzureIntegration(t *testing.T) {
311312
for i := range 2 {
312313
kept = append(kept, fmt.Sprintf("prefix-keep/obj-%d", i))
313314
}
314-
for _, path := range append(append([]string{}, doomed...), kept...) {
315+
for _, path := range slices.Concat(doomed, kept) {
315316
putBlob(path)
316317
}
317318

0 commit comments

Comments
 (0)