Skip to content

Energy factory unit test audit update #3980

Energy factory unit test audit update

Energy factory unit test audit update #3980

Triggered via pull request May 7, 2024 21:46
Status Success
Total duration 11m 10s
Artifacts 3

actions.yml

on: pull_request
Contracts  /  Wasm tests
10m 58s
Contracts / Wasm tests
Contracts  /  Test Coverage
4m 7s
Contracts / Test Coverage
Contracts  /  Rust tests
1m 47s
Contracts / Rust tests
Contracts  /  Clippy linter check
31s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
[clippy] locked-asset/energy-factory/tests/simple_lock_energy_test.rs#L499: locked-asset/energy-factory/tests/simple_lock_energy_test.rs#L499
warning: unused variable: `random_user` --> locked-asset/energy-factory/tests/simple_lock_energy_test.rs:499:9 | 499 | let random_user = setup.b_mock.create_user_account(&rust_biguint!(0u64)); | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_user` | = note: `#[warn(unused_variables)]` on by default
Contracts / Clippy linter check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Contracts / Rust tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Contracts / Test Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Contracts / Wasm tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3, dawidd6/action-download-artifact@v2, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage", "report", "report-markdown". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage Expired
23.6 KB
report Expired
42 KB
report-markdown Expired
2.07 KB