Skip to content

feat: 302

feat: 302 #70

Triggered via pull request March 6, 2024 04:53
@SchlagoniaSchlagonia
opened #27
302
Status Failure
Total duration 26s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 14 warnings
commits
You have commit messages with errors ⧗ input: forge install: tokenized-strategy v3.0.2 ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint ⧗ input: forge install: tokenized-strategy-periphery 62fff222eac29f544ce8a1cd8ee2a4b478aaf628 ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint ⧗ input: forge install: openzeppelin-contracts v4.9.5 ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
commits
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/.
solidity
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
solidity
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
solidity: src/interfaces/IStrategyInterface.sol#L6
Code contains empty blocks
solidity: src/periphery/StrategyAprOracle.sol#L29
Variable "_strategy" is unused
solidity: src/periphery/StrategyAprOracle.sol#L30
Variable "_delta" is unused
solidity: src/Strategy.sol#L46
Code contains empty blocks
solidity: src/Strategy.sol#L73
Code contains empty blocks
solidity: src/test/FunctionSignature.t.sol#L4
global import of path forge-std/console.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
solidity: src/test/FunctionSignature.t.sol#L5
imported name IStrategyInterface is not used
solidity: src/test/FunctionSignature.t.sol#L15
Function body contains 76 lines but allowed no more than 50 lines
solidity: src/test/FunctionSignature.t.sol#L15
Function name must be in mixedCase
solidity: src/test/Operation.t.sol#L4
global import of path forge-std/console.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
solidity
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/