Skip to content

Refactor supported routes fetching #1432

Refactor supported routes fetching

Refactor supported routes fetching #1432

Triggered via pull request October 24, 2024 15:01
Status Failure
Total duration 31m 23s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 17 warnings
lint: wormhole-connect/src/hooks/useFetchSupportedRoutes.ts#L30
'isActive' is never reassigned. Use 'const' instead
lint: wormhole-connect/src/hooks/useFetchSupportedRoutes.ts#L30
'isActive' is never reassigned. Use 'const' instead
lint
Process completed with exit code 1.
check-sdn-list
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-sdn-list
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: wormhole-connect/src/AppRouter.tsx#L66
React Hook React.useEffect has missing dependencies: 'dispatch' and 'props.config'. Either include them or remove the dependency array
lint: wormhole-connect/src/AppRouter.tsx#L86
React Hook useEffect has a missing dependency: 'routeContext'. Either include it or remove the dependency array
lint: wormhole-connect/src/components/DemoApp/index.tsx#L148
React Hook useEffect has missing dependencies: 'customConfigInput', 'customConfigNonce', and 'isLoadingCustomConfig'. Either include them or remove the dependency array. You can also do a functional update 'setCustomConfigNonce(c => ...)' if you only need 'customConfigNonce' in the 'setCustomConfigNonce' call
lint: wormhole-connect/src/components/Modal.tsx#L76
React Hook useEffect has a missing dependency: 'onClose'. Either include it or remove the dependency array. If 'onClose' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: wormhole-connect/src/hooks/useComputeFees.ts#L135
React Hook useEffect has a missing dependency: 'getEstimatedTime'. Either include it or remove the dependency array
lint: wormhole-connect/src/hooks/useComputeSourceTokens.ts#L74
React Hook useEffect has missing dependencies: 'destChain' and 'sourceToken'. Either include them or remove the dependency array
lint: wormhole-connect/src/hooks/useFetchRedeemTx.ts#L68
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
lint: wormhole-connect/src/hooks/useGetTokenBalances.ts#L166
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
lint: wormhole-connect/src/hooks/useRoutesQuotesBulk.ts#L104
React Hook useEffect has missing dependencies: 'params', 'refreshTimeout', and 'routes'. Either include them or remove the dependency array
lint: wormhole-connect/src/hooks/useRoutesQuotesBulk.ts#L105
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-hosted
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-library
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-token-list
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/