Skip to content

Setup refactored Aggregation SDK #9

Setup refactored Aggregation SDK

Setup refactored Aggregation SDK #9

Triggered via pull request April 2, 2024 16:25
Status Failure
Total duration 41s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
test: client/models/orderbook_types.go#L4
no required module provides package github.com/1inch/1inch-sdk-go/internal/helpers/consts/tokens; to add it:
test: client/models/orderbook_types.go#L5
no required module provides package github.com/1inch/1inch-sdk-go/internal/onchain; to add it:
test: internal/web3_provider/multicall/multicall.go#L13
no required module provides package github.com/1inch/1inch-sdk-go/internal/helpers/consts/chains; to add it:
test
Process completed with exit code 2.
lint: constants/abis.go#L1
: import cycle not allowed: import stack: [github.com/1inch/1inch-sdk-go/aggregation github.com/1inch/1inch-sdk-go/aggregation/models github.com/1inch/1inch-sdk-go/internal/validate github.com/1inch/1inch-sdk-go/constants github.com/1inch/1inch-sdk-go/internal/helpers github.com/1inch/1inch-sdk-go/constants] (typecheck)
lint: aggregation/models/validation_test.go#L8
could not import github.com/1inch/1inch-sdk-go/constants (-: import cycle not allowed: import stack: [github.com/1inch/1inch-sdk-go/aggregation github.com/1inch/1inch-sdk-go/aggregation/models github.com/1inch/1inch-sdk-go/internal/validate github.com/1inch/1inch-sdk-go/constants github.com/1inch/1inch-sdk-go/internal/helpers github.com/1inch/1inch-sdk-go/constants]) (typecheck)
lint: aggregation/models/validation_test.go#L17
undefined: SwapTokensParams (typecheck)
lint: aggregation/models/validation_test.go#L22
undefined: SwapTokensParams (typecheck)
lint: aggregation/models/validation_test.go#L37
undefined: SwapTokensParams (typecheck)
lint: aggregation/models/validation_test.go#L279
undefined: GetSwapParams (typecheck)
lint: aggregation/models/validation_test.go#L284
undefined: GetSwapParams (typecheck)
lint: aggregation/models/validation_test.go#L297
undefined: GetSwapParams (typecheck)
lint: internal/helpers/bigInt.go#L1
: import cycle not allowed in test (typecheck)
lint: internal/validate/validate.go#L10
could not import github.com/1inch/1inch-sdk-go/constants (-: import cycle not allowed: import stack: [github.com/1inch/1inch-sdk-go/aggregation github.com/1inch/1inch-sdk-go/aggregation/models github.com/1inch/1inch-sdk-go/internal/validate github.com/1inch/1inch-sdk-go/constants github.com/1inch/1inch-sdk-go/internal/helpers github.com/1inch/1inch-sdk-go/constants]) (typecheck)
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, 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/.