feat: adds interplex as a caching provider #6041
golangci_lint.yaml
on: pull_request
golangci-lint
4m 26s
Annotations
4 errors
golangci-lint:
pkg/cache/interplex_based_test.go#L24
[golangci] reported by reviewdog 🐶
testinggoroutine: call to (*testing.T).Fatalf from a non-test goroutine (govet)
Raw Output:
pkg/cache/interplex_based_test.go:24:4: testinggoroutine: call to (*testing.T).Fatalf from a non-test goroutine (govet)
t.Fatalf("failed to listen: %v", err)
^
|
golangci-lint:
pkg/cache/interplex_based_test.go#L29
[golangci] reported by reviewdog 🐶
testinggoroutine: call to (*testing.T).Fatalf from a non-test goroutine (govet)
Raw Output:
pkg/cache/interplex_based_test.go:29:4: testinggoroutine: call to (*testing.T).Fatalf from a non-test goroutine (govet)
t.Fatalf("failed to serve: %v", err)
^
|
golangci-lint:
pkg/cache/interplex_based.go#L36
[golangci] reported by reviewdog 🐶
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
Raw Output:
pkg/cache/interplex_based.go:36:15: SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
conn, err := grpc.Dial(address, grpc.WithInsecure(), grpc.WithBlock())
^
|
golangci-lint:
pkg/cache/interplex_based_test.go#L21
[golangci] reported by reviewdog 🐶
SA2002: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test (staticcheck)
Raw Output:
pkg/cache/interplex_based_test.go:21:2: SA2002: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test (staticcheck)
go func() {
^
|