Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ linters:
sloglint:
attr-only: true
context: all
usetesting:
context-background: true
context-todo: true
perfsprint:
# Prefer sprintf for readability
string-format: false
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/fetcher/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ registry:
// in dependency order and consumers reference the newly created dependency versions.
func TestRunDependencyOrdering(t *testing.T) {
t.Parallel()
ctx := context.Background()
ctx := t.Context()
tmpDir := t.TempDir()

// Setup: Create complete repository structure
Expand Down