This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
Bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 in /tools #1982
Annotations
10 errors and 2 warnings
Run checks/linters:
api/validation_test.go#L503
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Run checks/linters:
api/proxy.go#L152
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
Run checks/linters:
pkg/pmm/apikey.go#L47
fmt.Sprintf can be replaced with string addition (perfsprint)
|
Run checks/linters:
api/backup_storage.go#L285
fmt.Sprintf can be replaced with string addition (perfsprint)
|
Run checks/linters:
api/database_cluster_backup.go#L40
fmt.Sprintf can be replaced with string addition (perfsprint)
|
Run checks/linters:
api/monitoring_instance.go#L117
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Run checks/linters:
api/monitoring_instance.go#L137
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Run checks/linters:
api/monitoring_instance.go#L139
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Run checks/linters:
api/validation_test.go#L503
[golangci-lint] reported by reviewdog 🐶
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Raw Output:
api/validation_test.go:503:10: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
func(ctx context.Context, s string) (*everestv1alpha1.BackupStorage, error) { return storage, nil },
^
|
Run checks/linters:
api/proxy.go#L152
[golangci-lint] reported by reviewdog 🐶
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
Raw Output:
api/proxy.go:152:39: unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
return func(res http.ResponseWriter, req *http.Request, err error) {
^
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Set up Go release
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
|
The logs for this run have expired and are no longer available.
Loading