Skip to content

feat: scrape summary #1345

feat: scrape summary

feat: scrape summary #1345

Triggered via pull request July 2, 2024 06:25
Status Failure
Total duration 5m 46s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: scrapers/aws/aws.go#L120
ctx.Logger undefined (type *AWSContext has no field or method Logger) (typecheck)
lint: scrapers/aws/aws.go#L123
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to ECR.DescribeRepositories: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint: scrapers/aws/aws.go#L154
ctx.Logger undefined (type *AWSContext has no field or method Logger) (typecheck)
lint: scrapers/aws/aws.go#L157
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to SQS.ListQueues: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint: scrapers/aws/aws.go#L164
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to SQS.GetQueueAttributes: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint: scrapers/aws/aws.go#L191
ctx.Logger undefined (type *AWSContext has no field or method Logger) (typecheck)
lint: scrapers/aws/aws.go#L194
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to client.ListTopics: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint: scrapers/aws/aws.go#L228
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to client.ListClusters: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint: scrapers/aws/aws.go#L235
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to client.DescribeClusters: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint: scrapers/aws/aws.go#L273
cannot use ctx (variable of type *AWSContext) as "context".Context value in argument to client.ListServices: *AWSContext does not implement "context".Context (missing method Deadline) (typecheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5, actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492, golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5, actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/