Skip to content

change admin func and add more test case #2

change admin func and add more test case

change admin func and add more test case #2

Triggered via push July 14, 2024 07:03
Status Failure
Total duration 1m 13s
Artifacts

Basic.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 22 warnings
Lints: src/contract.rs#L49
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
Lints: src/contract.rs#L52
you should consider adding a `Default` implementation for `AGContract<'_>`
Lints: src/contract.rs#L144
the borrowed expression implements the required traits
Lints: src/contract.rs#L151
the borrowed expression implements the required traits
Lints: src/contract.rs#L154
this creates an owned instance just for comparison
Lints: src/contract.rs#L154
this creates an owned instance just for comparison
Lints: src/contract.rs#L224
match can be simplified with `.unwrap_or_default()`
Lints: src/contract.rs#L243
match can be simplified with `.unwrap_or_default()`
Lints
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lints
`/home/runner/work/appchain-grant-vota/appchain-grant-vota/.cargo/config` is deprecated in favor of `config.toml`
Lints
`/home/runner/work/appchain-grant-vota/appchain-grant-vota/.cargo/config` is deprecated in favor of `config.toml`
Lints
`/home/runner/work/appchain-grant-vota/appchain-grant-vota/.cargo/config` is deprecated in favor of `config.toml`
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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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
`/home/runner/work/appchain-grant-vota/appchain-grant-vota/.cargo/config` is deprecated in favor of `config.toml`
Test Suite: src/contract.rs#L49
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
Test Suite: src/contract.rs#L49
use of deprecated function `cosmwasm_std::from_slice`: use from_json instead
Test Suite
`appchain-grant-vota` (lib test) generated 4 warnings (2 duplicates)
Test Suite
`/home/runner/work/appchain-grant-vota/appchain-grant-vota/.cargo/config` is deprecated in favor of `config.toml`
Test Suite: src/contract.rs#L49
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
Test Suite
`appchain-grant-vota` (lib) generated 1 warning