Skip to content

🌱 Bump github.com/golangci/golangci-lint in /tools (#3592) #998

🌱 Bump github.com/golangci/golangci-lint in /tools (#3592)

🌱 Bump github.com/golangci/golangci-lint in /tools (#3592) #998

Triggered via push October 24, 2023 00:29
Status Failure
Total duration 4m 6s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
check-linter: checks/raw/fuzzing.go#L96
string `and test that specific properties are satisfied.` has 3 occurrences, make it a constant (goconst)
check-linter: cron/internal/pubsub/subscriber_gcs.go#L96
avoid direct access to proto field result.ReceivedMessages, use result.GetReceivedMessages() instead (protogetter)
check-linter: cron/internal/pubsub/subscriber_gcs.go#L110
avoid direct access to proto field msgToProcess.AckId, use msgToProcess.GetAckId() instead (protogetter)
check-linter: cron/internal/controller/main.go#L159
avoid direct access to proto field metadata.NumShard, use metadata.GetNumShard() instead (protogetter)
check-linter: cron/internal/controller/main.go#L160
avoid direct access to proto field metadata.ShardLoc, use metadata.GetShardLoc() instead (protogetter)
check-linter: cron/internal/controller/main.go#L161
avoid direct access to proto field metadata.CommitSha, use metadata.GetCommitSha() instead (protogetter)
check-linter: cron/internal/controller/main.go#L173
avoid direct access to proto field metadata.ShardLoc, use metadata.GetShardLoc() instead (protogetter)
check-linter: policy/policy.go#L203
avoid direct access to proto field sp.Policies, use sp.GetPolicies() instead (protogetter)
check-linter: policy/policy_test.go#L163
avoid direct access to proto field sp.Policies, use sp.GetPolicies() instead (protogetter)
check-linter: policy/policy_test.go#L249
avoid direct access to proto field sp.Policies, use sp.GetPolicies() instead (protogetter)