Skip to content

Drop neofs-api-go dependency #1407

Drop neofs-api-go dependency

Drop neofs-api-go dependency #1407

Triggered via pull request June 5, 2024 16:17
Status Failure
Total duration 2m 31s
Artifacts

tests.yml

on: pull_request
Matrix: CodeQL
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 4 warnings
lint
issues found
Tests (ubuntu-latest, 1.20): audit/result.go#L65
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.20): bearer/test/generate.go#L9
"github.com/nspcc-dev/neofs-sdk-go/crypto/test" imported as neofscryptotest and not used
Tests (ubuntu-latest, 1.20): client/object_search.go#L31
undefined: object.SearchFilters
Tests (ubuntu-latest, 1.20): client/object_search.go#L60
undefined: object.SearchFilters
Tests (ubuntu-latest, 1.20): client/accounting.go#L58
cannot use &accountV2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".OwnerID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".OwnerID value in argument to prm.account.WriteToV2
Tests (ubuntu-latest, 1.20): client/accounting.go#L92
cannot use *bal (variable of type "github.com/nspcc-dev/neofs-api-go/v2/accounting".Decimal) as *"github.com/nspcc-dev/neofs-sdk-go/api/accounting".Decimal value in argument to res.ReadFromV2
Tests (ubuntu-latest, 1.20): client/common.go#L131
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.20): client/common.go#L149
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.20): client/container.go#L83
cannot use &cnr (value of type *"github.com/nspcc-dev/neofs-api-go/v2/container".Container) as *"github.com/nspcc-dev/neofs-sdk-go/api/container".Container value in argument to cont.WriteToV2
Coverage: audit/result.go#L65
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Coverage: bearer/test/generate.go#L9
"github.com/nspcc-dev/neofs-sdk-go/crypto/test" imported as neofscryptotest and not used
Coverage: bearer/test/generate.go#L32
undefined: test
Coverage: bearer/test/generate.go#L9
"github.com/nspcc-dev/neofs-sdk-go/crypto/test" imported as neofscryptotest and not used
Coverage: bearer/test/generate.go#L32
undefined: test
Coverage: client/object_search.go#L31
undefined: object.SearchFilters
Coverage: client/object_search.go#L60
undefined: object.SearchFilters
Coverage: client/accounting.go#L58
cannot use &accountV2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".OwnerID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".OwnerID value in argument to prm.account.WriteToV2
Coverage: client/accounting.go#L92
cannot use *bal (variable of type "github.com/nspcc-dev/neofs-api-go/v2/accounting".Decimal) as *"github.com/nspcc-dev/neofs-sdk-go/api/accounting".Decimal value in argument to res.ReadFromV2
Coverage: client/common.go#L131
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.21): audit/result.go#L65
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.21): bearer/test/generate.go#L9
"github.com/nspcc-dev/neofs-sdk-go/crypto/test" imported as neofscryptotest and not used
Tests (ubuntu-latest, 1.21): client/object_search.go#L31
undefined: object.SearchFilters
Tests (ubuntu-latest, 1.21): client/object_search.go#L60
undefined: object.SearchFilters
Tests (ubuntu-latest, 1.21): client/accounting.go#L58
cannot use &accountV2 (value of type *"github.com/nspcc-dev/neofs-api-go/v2/refs".OwnerID) as *"github.com/nspcc-dev/neofs-sdk-go/api/refs".OwnerID value in argument to prm.account.WriteToV2
Tests (ubuntu-latest, 1.21): client/accounting.go#L92
cannot use *bal (variable of type "github.com/nspcc-dev/neofs-api-go/v2/accounting".Decimal) as *"github.com/nspcc-dev/neofs-sdk-go/api/accounting".Decimal value in argument to res.ReadFromV2
Tests (ubuntu-latest, 1.21): client/common.go#L131
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.21): client/common.go#L149
invalid operation: cannot call non-function version.Current (variable of type "github.com/nspcc-dev/neofs-sdk-go/version".Version)
Tests (ubuntu-latest, 1.21): client/container.go#L83
cannot use &cnr (value of type *"github.com/nspcc-dev/neofs-api-go/v2/container".Container) as *"github.com/nspcc-dev/neofs-sdk-go/api/container".Container value in argument to cont.WriteToV2
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL (go)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL (go)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
CodeQL (go)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.