Staking: multitest improvements #162
Basic.yml
on: pull_request
Test Suite
1m 4s
Lints
43s
Annotations
11 errors and 22 warnings
Lints:
contracts/stake/src/multitest/staking_rewards.rs#L7
unused import: `SEVEN_DAYS`
|
Lints:
contracts/stake/src/multitest/suite.rs#L3
unused import: `bail`
|
Lints:
contracts/stake/src/multitest/suite.rs#L7
unused import: `Msg`
|
Lints:
contracts/stake/src/multitest/suite.rs#L11
unused imports: `contract`, `msg`
|
Lints:
contracts/stake/src/multitest/suite.rs#L13
unused import: `BankSudo`
|
Lints:
contracts/stake/src/multitest/suite.rs#L236
unused variable: `delegate_as`
|
Lints:
contracts/stake/src/multitest/suite.rs#L47
function `juno` is never used
|
Lints:
contracts/stake/src/multitest/suite.rs#L51
function `native_token` is never used
|
Lints:
contracts/stake/src/multitest/suite.rs#L314
multiple methods are never used
|
Lints:
contracts/stake/src/multitest/staking_rewards.rs#L77
useless use of `vec!`
|
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Lints
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite:
contracts/stake/src/multitest/staking_rewards.rs#L7
unused import: `SEVEN_DAYS`
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L3
unused import: `bail`
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L7
unused import: `Msg`
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L11
unused imports: `contract`, `msg`
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L13
unused import: `BankSudo`
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L236
unused variable: `delegate_as`
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L47
function `juno` is never used
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L51
function `native_token` is never used
|
Test Suite:
contracts/stake/src/multitest/suite.rs#L314
multiple methods are never used
|
Test Suite
`dex-stake` (lib test) generated 9 warnings (run `cargo fix --lib -p dex-stake --tests` to apply 6 suggestions)
|