Skip to content

Extract dependency manager from flow-cli #171

Extract dependency manager from flow-cli

Extract dependency manager from flow-cli #171

Triggered via pull request June 23, 2024 10:52
Status Failure
Total duration 2m 56s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
test
Process completed with exit code 2.
lint: mocks/services_mock.go#L27
could not import github.com/onflow/flowkit/v2/gateway/mocks (-: import cycle not allowed: import stack: [github.com/onflow/flowkit/v2/gateway/mocks github.com/onflow/flowkit/v2/tests github.com/onflow/flowkit/v2/mocks github.com/onflow/flowkit/v2/gateway/mocks]) (typecheck)
lint: mocks/services_mock.go#L28
could not import github.com/onflow/flowkit/v2/tests (-: import cycle not allowed: import stack: [github.com/onflow/flowkit/v2/gateway/mocks github.com/onflow/flowkit/v2/tests github.com/onflow/flowkit/v2/mocks github.com/onflow/flowkit/v2/tests]) (typecheck)
lint: gateway/mocks/Gateway.go#L1
: import cycle not allowed: import stack: [github.com/onflow/flowkit/v2/gateway/mocks github.com/onflow/flowkit/v2/tests github.com/onflow/flowkit/v2/mocks github.com/onflow/flowkit/v2/gateway/mocks] (typecheck)
lint: events.go#L1
: import cycle not allowed in test (typecheck)
lint: events_test.go#L28
could not import github.com/onflow/flowkit/v2 (-: import cycle not allowed in test) (typecheck)
lint: events_test.go#L29
could not import github.com/onflow/flowkit/v2/tests (-: import cycle not allowed: import stack: [github.com/onflow/flowkit/v2/gateway/mocks github.com/onflow/flowkit/v2/tests github.com/onflow/flowkit/v2/mocks github.com/onflow/flowkit/v2/tests]) (typecheck)
lint: events_test.go#L43
undefined: flowkit (typecheck)
lint: accounts/account.go#L1
: import cycle not allowed in test (typecheck)
lint: deps/dependencyinstaller_test.go#L31
could not import github.com/onflow/flowkit/v2/gateway/mocks (-: import cycle not allowed: import stack: [github.com/onflow/flowkit/v2/gateway/mocks github.com/onflow/flowkit/v2/tests github.com/onflow/flowkit/v2/mocks github.com/onflow/flowkit/v2/gateway/mocks]) (typecheck)
lint: deps/dependencyinstaller_test.go#L33
could not import github.com/onflow/flowkit/v2/tests (-: import cycle not allowed: import stack: [github.com/onflow/flowkit/v2/gateway/mocks github.com/onflow/flowkit/v2/tests github.com/onflow/flowkit/v2/mocks github.com/onflow/flowkit/v2/tests]) (typecheck)
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'install-mode']
lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'install-mode']
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2