Skip to content

code cleanup (#2878) #1451

code cleanup (#2878)

code cleanup (#2878) #1451

Triggered via push October 28, 2024 17:57
Status Success
Total duration 3m 28s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

17 warnings
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/
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/
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#L103
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#L104
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
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/
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/