Skip to content

Bids 3208/dashboard notifications backend #1671

Bids 3208/dashboard notifications backend

Bids 3208/dashboard notifications backend #1671

Triggered via pull request September 10, 2024 11:31
Status Failure
Total duration 4m 9s
Artifacts

backend-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: backend/pkg/notification/db.go#L1
: # github.com/gobitfly/beaconchain/pkg/notification
lint
cannot use client.SendEachDryRun(context.Background(), currentMessages) (value of type *"firebase.google.com/go/v4/messaging".BatchResponse) as *"firebase.google.com/go/messaging".BatchResponse value in assignment
lint
cannot use currentMessages (variable of type []*"firebase.google.com/go/messaging".Message) as []*"firebase.google.com/go/v4/messaging".Message value in argument to client.SendEachDryRun
lint
cannot use client.SendEach(context.Background(), currentMessages) (value of type *"firebase.google.com/go/v4/messaging".BatchResponse) as *"firebase.google.com/go/messaging".BatchResponse value in assignment
lint
cannot use currentMessages (variable of type []*"firebase.google.com/go/messaging".Message) as []*"firebase.google.com/go/v4/messaging".Message value in argument to client.SendEach
lint
undefined: logger
lint
undefined: logger
lint
undefined: logger
lint
undefined: logger (typecheck)
lint: backend/cmd/misc/main.go#L35
could not import github.com/gobitfly/beaconchain/pkg/notification (-: # github.com/gobitfly/beaconchain/pkg/notification
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/