Skip to content

fix: updates for go modules #2

fix: updates for go modules

fix: updates for go modules #2

Triggered via pull request February 2, 2024 19:05
Status Failure
Total duration 26s
Artifacts

go-lint.yaml

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

Annotations

7 errors and 1 warning
modules/project_cleanup/function_source: modules/project_cleanup/function_source/main.go#L245
SA1019: servicemanagement.New is deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. (staticcheck)
modules/project_cleanup/function_source: modules/project_cleanup/function_source/main.go#L254
SA1019: cloudresourcemanager.New is deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. (staticcheck)
modules/project_cleanup/function_source: modules/project_cleanup/function_source/main.go#L264
SA1019: cloudresourcemanager2.New is deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. (staticcheck)
modules/project_cleanup/function_source: modules/project_cleanup/function_source/main.go#L274
SA1019: cloudresourcemanager3.New is deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. (staticcheck)
modules/project_cleanup/function_source: modules/project_cleanup/function_source/main.go#L284
SA1019: cloudresourcemanager3.New is deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. (staticcheck)
modules/project_cleanup/function_source: modules/project_cleanup/function_source/main.go#L294
SA1019: compute.New is deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. (staticcheck)
modules/project_cleanup/function_source
issues found
modules/project_cleanup/function_source
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.