Skip to content

refactor(cmds): do not return errors embedded in result type #3260

refactor(cmds): do not return errors embedded in result type

refactor(cmds): do not return errors embedded in result type #3260

Triggered via pull request November 20, 2024 03:59
Status Failure
Total duration 3m 45s
Artifacts

gotest.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 4 warnings
go-test
Process completed with exit code 2.
go-test
Process completed with exit code 2.
go-test
Process completed with exit code 2.
go-test
Process completed with exit code 1.
go-test: core/commands/pin/remotepin.go#L296
assignment mismatch: 2 variables but lsRemote returns 1 value
go-test: core/commands/pin/remotepin.go#L296
not enough arguments in call to lsRemote
go-test: core/commands/pin/remotepin.go#L350
too many return values
go-test: core/commands/pin/remotepin.go#L350
too many arguments in call to c.Ls
go-test: core/commands/pin/remotepin.go#L402
assignment mismatch: 2 variables but lsRemote returns 1 value
go-test: core/commands/pin/remotepin.go#L402
not enough arguments in call to lsRemote
go-test: core/commands/pin/pin.go#L561
undefined: iface
go-test: core/commands/pin/pin.go#L566
cannot use opt (variable of type "github.com/ipfs/kubo/core/coreiface/options".PinLsOption) as chan<- iface.Pin value in argument to api.Pin().Ls
go-test
Process completed with exit code 2.
go-test
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238/dist/codecov' failed with exit code 1
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/kubo/kubo. Supported file pattern: go.sum
go-test
No files were found with the provided path: test/unit/gotest.junit.xml. No artifacts will be uploaded.
go-test
No files were found with the provided path: test/unit/gotest.html. No artifacts will be uploaded.