Skip to content
This repository has been archived by the owner on Feb 9, 2025. It is now read-only.

Feature: improve mango modal #2257

Feature: improve mango modal

Feature: improve mango modal #2257

Re-run triggered February 8, 2024 18:22
Status Success
Total duration 2m 52s
Artifacts

ci-main-tests.yml

on: pull_request
Static Security Tests
2m 30s
Static Security Tests
Dependency Scan
40s
Dependency Scan
Run Tests
2m 5s
Run Tests
All tests pass
0s
All tests pass
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Dependency Scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Dependency Scan
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/
Run Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Tests: HeliumVotePlugin/components/LockTokensAccount.tsx#L155
React Hook useAsync has missing dependencies: 'config?.account.communityTokenConfig.voterWeightAddin', 'connection', 'currentClient', 'getPositions', 'realm.account.communityMint', 'realm.pubkey', and 'wallet.publicKey'. Either include them or remove the dependency array
Run Tests: PythVotePlugin/components/PythVotingPower.tsx#L65
React Hook useMemo has a missing dependency: 'pythScalingFactor'. Either include it or remove the dependency array
Run Tests: components/NewRealmWizard/components/NFTCollectionModal.tsx#L85
React Hook useAsync has a missing dependency: 'network'. Either include it or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L110
React Hook useEffect has missing dependencies: 'account.extensions.token', 'mangoClient', and 'mangoGroup'. Either include them or remove the dependency array
Run Tests: components/TreasuryAccount/MangoModal.tsx#L110
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: components/TreasuryAccount/Trade.tsx#L344
React Hook useCallback has missing dependencies: 'anchorProvider', 'fmtUrlWithCluster', 'handleCreateProposal', 'mintAccount.account.decimals', 'router', 'tokenAccount.pubkey', and 'voteByCouncil'. Either include them or remove the dependency array
Run Tests: components/treasuryV2/WalletList/WalletListItem/AssetList/index.tsx#L165
React Hook useEffect has missing dependencies: 'realm.account.communityMint' and 'realm.account.config.councilMint'. Either include them or remove the dependency array
Run Tests: hooks/useMangoV4.tsx#L61
React Hook useEffect has missing dependencies: 'GROUP', 'connection', 'getClient', and 'wallet'. Either include them or remove the dependency array
Run Tests: hooks/useMangoV4.tsx#L61
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
Run Tests: hooks/useVoteRecords.ts#L111
React Hook useAsync has a missing dependency: 'connection.endpoint'. Either include it or remove the dependency array
Static Security Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@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/.
Static Security Tests
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/