Skip to content

Improve static validation of contract/transaction moves #9664

Improve static validation of contract/transaction moves

Improve static validation of contract/transaction moves #9664

Triggered via pull request May 14, 2024 22:45
Status Failure
Total duration 9m 54s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Lint: runtime/tests/checker/composite_test.go#L2007
assignOp: replace `firstCallableFunc = firstCallableFunc + " {}"` with `firstCallableFunc += " {}"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L2023
assignOp: replace `secondCallableFunc = secondCallableFunc + " {}"` with `secondCallableFunc += " {}"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L1998
assignOp: replace `usage = usage + ".foo()"` with `usage += ".foo()"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L2015
assignOp: replace `usage = usage + ".foo()"` with `usage += ".foo()"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L2007
assignOp: replace `firstCallableFunc = firstCallableFunc + " {}"` with `firstCallableFunc += " {}"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L2023
assignOp: replace `secondCallableFunc = secondCallableFunc + " {}"` with `secondCallableFunc += " {}"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L1998
assignOp: replace `usage = usage + ".foo()"` with `usage += ".foo()"` (gocritic)
Lint: runtime/tests/checker/composite_test.go#L2015
assignOp: replace `usage = usage + ".foo()"` with `usage += ".foo()"` (gocritic)
Lint: runtime/tests/checker/move_test.go#L22
File is not `goimports`-ed with -local github.com/onflow/cadence (goimports)
Lint
Process completed with exit code 2.
Lint JSON
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/.
Lint JSON
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/
Semgrep
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/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, codecov/codecov-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/