Skip to content

Commit 8893f02

Browse files
committed
chore: bump golangci-lint to v2.8
1 parent c5f50f7 commit 8893f02

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/style.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
go-version: '~1.25.0'
2626
- uses: golangci/golangci-lint-action@v9
2727
with:
28-
version: v2.4
28+
version: v2.8

pkg/mutate/squashfs_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ func testLayer(tb testing.TB, name string, digest v1.Hash) v1.Layer {
3636
func diffSquashFS(tb testing.TB, pathA, pathB string, diffArgs ...string) {
3737
tb.Helper()
3838

39-
args := []string{"-a", pathA, "-b", pathB}
39+
args := make([]string, 0, 4+len(diffArgs))
40+
args = append(args, "-a", pathA, "-b", pathB)
4041
args = append(args, diffArgs...)
4142

4243
cmd := exec.CommandContext(tb.Context(), "sqfsdiff", args...)

0 commit comments

Comments
 (0)