Skip to content

Add golangci-lint

Add golangci-lint #299

Triggered via pull request July 13, 2024 10:22
Status Failure
Total duration 56s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: client_test.go#L14
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: client.go#L65
SA1019: secretmanagerpb.AccessSecretVersionRequest is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb (staticcheck)
lint: secret_manager_client.go#L10
SA1019: secretmanagerpb.AccessSecretVersionRequest is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb (staticcheck)
lint: client_test.go#L24
SA1019: secretmanagerpb.AccessSecretVersionRequest is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb (staticcheck)
lint: client_test.go#L28
SA1019: secretmanagerpb.AccessSecretVersionResponse is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb (staticcheck)
lint: client_test.go#L29
SA1019: secretmanagerpb.SecretPayload is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb (staticcheck)
lint: client.go#L8
SA1019: "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details. (staticcheck)
lint: secret_manager_client.go#L6
SA1019: "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details. (staticcheck)
lint: client_test.go#L9
SA1019: "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" is deprecated: Please use types in: cloud.google.com/go/secretmanager/apiv1/secretmanagerpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details. (staticcheck)
lint: client_test.go#L208
require-error: for error assertions use require (testifylint)
test (1.22)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (1.21)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (1.20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (1.19)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/